home *** CD-ROM | disk | FTP | other *** search
/ Apple CD-ROM Titles Sampler / Apple CD-ROM Titles Sampler.iso / Demos / • Demo⁄Down to Earth • next >
MacBinary  |  1991-12-20  |  1.2 MB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: • Demo⁄Down to Earth •

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Jun 14 07:58:07 1991, modified Fri Dec 20 07:29:32 1991, creator HyperCard, type HyperCard stack, 98304 bytes "� Demo/Down to Earth �" , at 0x18080 1133137 bytes resource default (weak)
99% file DIY-Thermocam raw data (Lepton 3.x), scale 0-0, spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 2535301200456458802993406410752.000000 default (weak)
98% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
50% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 a5 20 44 65 6d 6f | 2f 44 6f 77 6e 20 74 6f |... Demo|/Down to|
|00000010| 20 45 61 72 74 68 20 a5 | 00 00 00 00 00 00 00 00 | Earth .|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 80 00 00 | 11 4a 51 a4 7e 5f cf a5 |........|.JQ.~_..|
|00000060| 77 92 ac 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |w.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ba 37 00 00 |........|.....7..|
|00000080| 00 00 32 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..2.STAK|........|
|00000090| 00 00 00 0a 00 01 80 00 | 00 00 32 00 00 00 00 00 |........|..2.....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 0a df 00 00 00 04 |........|........|
|000000b0| 00 00 0b 94 00 00 08 25 | 00 00 00 07 00 00 6e c0 |.......%|......n.|
|000000c0| 00 00 0f 8e 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 80 00 02 00 80 00 | 02 00 80 00 02 10 80 00 |........|........|
|000000f0| 6f 9b 88 5a 00 00 00 00 | 00 4c 00 90 01 6c 01 d0 |o..Z....|.L...l..|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 43 00 00 0c df | 01 20 01 40 00 00 00 00 |...C....|. .@....|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 10 02 40 08 01 20 04 80 |."."."."|..@.. ..|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 3c 80 00 00 2a c0 | 00 00 69 80 00 00 00 c0 |..<...*.|..i.....|
|00000490| 00 00 6e 20 00 00 28 80 | 00 00 b1 20 00 00 0c a0 |..n ..(.|... ....|
|000004a0| 00 00 cf 40 00 00 02 40 | 00 00 d6 80 00 00 02 e0 |...@...@|........|
|000004b0| 00 01 76 e0 00 00 09 00 | 7f ff ff ff 00 00 28 40 |..v.....|......(@|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 75 6e 6c |on openS|tack.unl|
|00000690| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6c 6f 62 61 |ock scre|en.globa|
|000006a0| 6c 20 43 75 72 72 50 49 | 43 54 0d 57 61 69 74 43 |l CurrPI|CT.WaitC|
|000006b0| 6c 6b 20 28 32 29 0d 50 | 69 6b 49 74 20 28 22 44 |lk (2).P|ikIt ("D|
|000006c0| 6f 77 6e 20 74 6f 20 45 | 61 72 74 68 22 29 0d 57 |own to E|arth").W|
|000006d0| 61 69 74 43 6c 6b 20 28 | 32 29 0d 63 6c 6f 73 65 |aitClk (|2).close|
|000006e0| 20 77 69 6e 64 6f 77 20 | 43 75 72 72 50 49 43 54 | window |CurrPICT|
|000006f0| 0d 67 6f 20 74 6f 20 63 | 61 72 64 20 32 0d 57 61 |.go to c|ard 2.Wa|
|00000700| 69 74 43 6c 6b 20 28 32 | 29 0d 50 69 6b 49 74 20 |itClk (2|).PikIt |
|00000710| 28 22 6c 61 6e 64 73 63 | 61 70 65 73 22 29 0d 57 |("landsc|apes").W|
|00000720| 61 69 74 43 6c 6b 20 28 | 34 29 0d 63 6c 6f 73 65 |aitClk (|4).close|
|00000730| 20 77 69 6e 64 6f 77 20 | 43 75 72 72 50 49 43 54 | window |CurrPICT|
|00000740| 0d 50 69 6b 49 74 20 28 | 22 73 65 61 20 73 68 65 |.PikIt (|"sea she|
|00000750| 6c 6c 73 22 29 0d 57 61 | 69 74 43 6c 6b 20 28 34 |lls").Wa|itClk (4|
|00000760| 29 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 43 |).close |window C|
|00000770| 75 72 72 50 49 43 54 0d | 50 69 6b 49 74 20 28 22 |urrPICT.|PikIt ("|
|00000780| 42 2f 57 20 70 68 6f 74 | 6f 67 72 61 70 68 73 22 |B/W phot|ographs"|
|00000790| 29 0d 57 61 69 74 43 6c | 6b 20 28 34 29 0d 63 6c |).WaitCl|k (4).cl|
|000007a0| 6f 73 65 20 77 69 6e 64 | 6f 77 20 43 75 72 72 50 |ose wind|ow CurrP|
|000007b0| 49 43 54 0d 50 69 6b 49 | 74 20 28 22 77 61 74 65 |ICT.PikI|t ("wate|
|000007c0| 72 63 6f 6c 6f 72 20 64 | 72 61 77 69 6e 67 73 22 |rcolor d|rawings"|
|000007d0| 29 0d 57 61 69 74 43 6c | 6b 20 28 34 29 0d 63 6c |).WaitCl|k (4).cl|
|000007e0| 6f 73 65 20 77 69 6e 64 | 6f 77 20 43 75 72 72 50 |ose wind|ow CurrP|
|000007f0| 49 43 54 0d 67 6f 20 74 | 6f 20 63 61 72 64 20 33 |ICT.go t|o card 3|
|00000800| 0d 57 61 69 74 43 6c 6b | 20 28 32 29 0d 50 69 6b |.WaitClk| (2).Pik|
|00000810| 49 74 20 28 22 63 6f 6c | 6f 72 20 66 6c 6f 77 65 |It ("col|or flowe|
|00000820| 72 20 64 72 61 77 69 6e | 67 73 22 29 0d 57 61 69 |r drawin|gs").Wai|
|00000830| 74 43 6c 6b 20 28 34 29 | 0d 63 6c 6f 73 65 20 77 |tClk (4)|.close w|
|00000840| 69 6e 64 6f 77 20 43 75 | 72 72 50 49 43 54 0d 50 |indow Cu|rrPICT.P|
|00000850| 69 6b 49 74 20 28 22 70 | 68 6f 74 6f 67 72 61 70 |ikIt ("p|hotograp|
|00000860| 68 69 63 20 66 6c 6f 77 | 65 72 73 22 29 0d 57 61 |hic flow|ers").Wa|
|00000870| 69 74 43 6c 6b 20 28 34 | 29 0d 63 6c 6f 73 65 20 |itClk (4|).close |
|00000880| 77 69 6e 64 6f 77 20 43 | 75 72 72 50 49 43 54 0d |window C|urrPICT.|
|00000890| 50 69 6b 49 74 20 28 22 | 6c 65 61 76 65 73 22 29 |PikIt ("|leaves")|
|000008a0| 0d 57 61 69 74 43 6c 6b | 20 28 34 29 0d 63 6c 6f |.WaitClk| (4).clo|
|000008b0| 73 65 20 77 69 6e 64 6f | 77 20 43 75 72 72 50 49 |se windo|w CurrPI|
|000008c0| 43 54 0d 50 69 6b 49 74 | 20 28 22 61 73 73 6f 72 |CT.PikIt| ("assor|
|000008d0| 74 65 64 20 66 72 75 69 | 74 20 70 69 63 74 75 72 |ted frui|t pictur|
|000008e0| 65 73 22 29 0d 57 61 69 | 74 43 6c 6b 20 28 34 29 |es").Wai|tClk (4)|
|000008f0| 0d 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 43 75 |.close w|indow Cu|
|00000900| 72 72 50 49 43 54 0d 50 | 69 6b 49 74 20 28 22 76 |rrPICT.P|ikIt ("v|
|00000910| 65 67 65 74 61 62 6c 65 | 20 6d 69 78 22 29 0d 57 |egetable| mix").W|
|00000920| 61 69 74 43 6c 6b 20 28 | 34 29 0d 63 6c 6f 73 65 |aitClk (|4).close|
|00000930| 20 77 69 6e 64 6f 77 20 | 43 75 72 72 50 49 43 54 | window |CurrPICT|
|00000940| 0d 50 69 6b 49 74 20 28 | 22 76 65 67 65 74 61 62 |.PikIt (|"vegetab|
|00000950| 6c 65 73 20 64 65 6c 75 | 78 65 22 29 0d 57 61 69 |les delu|xe").Wai|
|00000960| 74 43 6c 6b 20 28 34 29 | 0d 63 6c 6f 73 65 20 77 |tClk (4)|.close w|
|00000970| 69 6e 64 6f 77 20 43 75 | 72 72 50 49 43 54 0d 67 |indow Cu|rrPICT.g|
|00000980| 6f 20 74 6f 20 63 61 72 | 64 20 34 0d 57 61 69 74 |o to car|d 4.Wait|
|00000990| 43 6c 6b 20 28 36 29 0d | 2d 2d 20 67 6f 20 74 6f |Clk (6).|-- go to|
|000009a0| 20 63 61 72 64 20 31 0d | 6c 6f 63 6b 20 73 63 72 | card 1.|lock scr|
|000009b0| 65 65 6e 0d 70 6f 70 20 | 63 61 72 64 0d 65 6e 64 |een.pop |card.end|
|000009c0| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 0d 6f 6e 20 50 | openSta|ck..on P|
|000009d0| 69 6b 49 74 20 50 49 43 | 54 6e 61 6d 65 0d 67 6c |ikIt PIC|Tname.gl|
|000009e0| 6f 62 61 6c 20 43 75 72 | 72 50 49 43 54 0d 70 75 |obal Cur|rPICT.pu|
|000009f0| 74 20 50 49 43 54 6e 61 | 6d 65 20 69 6e 74 6f 20 |t PICTna|me into |
|00000a00| 43 75 72 72 50 49 43 54 | 0d 70 69 63 74 75 72 65 |CurrPICT|.picture|
|00000a10| 20 43 75 72 72 50 49 43 | 54 2c 72 65 73 6f 75 72 | CurrPIC|T,resour|
|00000a20| 63 65 2c 70 6c 61 69 6e | 2c 76 69 73 69 62 6c 65 |ce,plain|,visible|
|00000a30| 2c 64 65 65 70 65 73 74 | 0d 65 6e 64 20 50 69 6b |,deepest|.end Pik|
|00000a40| 49 74 0d 0d 6f 6e 20 6d | 6f 75 73 65 75 70 0d 67 |It..on m|ouseup.g|
|00000a50| 6c 6f 62 61 6c 20 43 75 | 72 72 50 49 43 54 0d 69 |lobal Cu|rrPICT.i|
|00000a60| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00000a70| 64 6f 77 20 43 75 72 72 | 50 49 43 54 20 74 68 65 |dow Curr|PICT the|
|00000a80| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 43 |n close |window C|
|00000a90| 75 72 72 50 49 43 54 0d | 6c 6f 63 6b 20 73 63 72 |urrPICT.|lock scr|
|00000aa0| 65 65 6e 0d 50 6f 70 20 | 43 61 72 64 0d 65 6e 64 |een.Pop |Card.end|
|00000ab0| 20 6d 6f 75 73 65 75 70 | 0d 0d 6f 6e 20 4d 6f 75 | mouseup|..on Mou|
|00000ac0| 73 65 55 70 49 6e 50 69 | 63 74 75 72 65 0d 67 6c |seUpInPi|cture.gl|
|00000ad0| 6f 62 61 6c 20 43 75 72 | 72 50 49 43 54 0d 69 66 |obal Cur|rPICT.if|
|00000ae0| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00000af0| 6f 77 20 43 75 72 72 50 | 49 43 54 20 74 68 65 6e |ow CurrP|ICT then|
|00000b00| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 43 75 | close w|indow Cu|
|00000b10| 72 72 50 49 43 54 0d 6c | 6f 63 6b 20 73 63 72 65 |rrPICT.l|ock scre|
|00000b20| 65 6e 0d 50 6f 70 20 43 | 61 72 64 0d 65 78 69 74 |en.Pop C|ard.exit|
|00000b30| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 65 6e | to Hype|rCard.en|
|00000b40| 64 20 4d 6f 75 73 65 55 | 70 49 6e 50 69 63 74 75 |d MouseU|pInPictu|
|00000b50| 72 65 0d 0d 6f 6e 20 57 | 61 69 74 43 6c 6b 20 52 |re..on W|aitClk R|
|00000b60| 65 70 73 0d 67 6c 6f 62 | 61 6c 20 43 75 72 72 50 |eps.glob|al CurrP|
|00000b70| 49 43 54 0d 72 65 70 65 | 61 74 20 52 65 70 73 20 |ICT.repe|at Reps |
|00000b80| 74 69 6d 65 73 0d 77 61 | 69 74 20 33 30 0d 69 66 |times.wa|it 30.if|
|00000b90| 20 74 68 65 20 6d 6f 75 | 73 65 63 6c 69 63 6b 20 | the mou|seclick |
|00000ba0| 69 73 20 74 72 75 65 20 | 74 68 65 6e 0d 63 6c 6f |is true |then.clo|
|00000bb0| 73 65 20 77 69 6e 64 6f | 77 20 43 75 72 72 50 49 |se windo|w CurrPI|
|00000bc0| 43 54 0d 70 6c 61 79 20 | 53 74 6f 70 0d 70 6f 70 |CT.play |Stop.pop|
|00000bd0| 20 63 61 72 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | card.un|lock scr|
|00000be0| 65 65 6e 0d 65 78 69 74 | 20 74 6f 20 68 79 70 65 |een.exit| to hype|
|00000bf0| 72 63 61 72 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |rcard.en|d if.end|
|00000c00| 20 72 65 70 65 61 74 0d | 65 6e 64 20 57 61 69 74 | repeat.|end Wait|
|00000c10| 43 6c 6b 0d 2d 2d 20 53 | 63 72 69 70 74 45 64 69 |Clk.-- S|criptEdi|
|00000c20| 74 aa 20 50 72 65 66 73 | 3a 4d 6f 6e 61 63 6f 2c |t. Prefs|:Monaco,|
|00000c30| 39 2c 32 37 2c 32 34 2c | 34 37 32 2c 36 30 30 2c |9,27,24,|472,600,|
|00000c40| 38 37 36 2c 38 37 36 2c | 30 0d 00 50 49 43 54 0d |876,876,|0..PICT.|
|00000c50| 70 6c 61 79 20 53 74 6f | 70 0d 70 6f 70 20 63 61 |play Sto|p.pop ca|
|00000c60| 72 64 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |rd.unloc|k screen|
|00000c70| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 63 61 |.exit to| hyperca|
|00000c80| 72 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |rd.end i|f.end re|
|00000c90| 70 65 61 74 0d 65 6e 64 | 20 57 61 69 74 43 6c 6b |peat.end| WaitClk|
|00000ca0| 0d 2d 2d 20 53 63 72 69 | 70 74 45 64 69 74 aa 20 |.-- Scri|ptEdit. |
|00000cb0| 50 72 65 66 73 3a 4d 6f | 6e 61 63 6f 2c 39 2c 32 |Prefs:Mo|naco,9,2|
|00000cc0| 37 2c 32 34 2c 34 37 32 | 2c 36 30 30 2c 31 31 38 |7,24,472|,600,118|
|00000cd0| 2c 31 31 38 2c 30 0d 00 | 43 54 0d 70 6c 61 79 20 |,118,0..|CT.play |
|00000ce0| 53 74 6f 70 0d 70 6f 70 | 20 63 61 72 64 0d 75 6e |Stop.pop| card.un|
|00000cf0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 78 69 74 |lock scr|een.exit|
|00000d00| 20 74 6f 20 68 79 70 65 | 72 63 61 72 64 0d 65 6e | to hype|rcard.en|
|00000d10| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00000d20| 65 6e 64 20 57 61 69 74 | 43 6c 6b 0d 2d 2d 20 53 |end Wait|Clk.-- S|
|00000d30| 63 72 69 70 74 45 64 69 | 74 aa 20 50 72 65 66 73 |criptEdi|t. Prefs|
|00000d40| 3a 4d 6f 6e 61 63 6f 2c | 39 2c 32 37 2c 32 34 2c |:Monaco,|9,27,24,|
|00000d50| 34 37 32 2c 36 30 30 2c | 31 30 34 36 2c 31 30 38 |472,600,|1046,108|
|00000d60| 31 2c 30 0d 00 69 73 69 | 62 6c 65 2c 64 65 65 70 |1,0..isi|ble,deep|
|00000d70| 65 73 74 0d 65 6e 64 20 | 50 69 6b 49 74 0d 0d 6f |est.end |PikIt..o|
|00000d80| 6e 20 57 61 69 74 43 6c | 6b 0d 67 6c 6f 62 61 6c |n WaitCl|k.global|
|00000d90| 20 54 68 79 6d 65 73 0d | 72 65 70 65 61 74 20 54 | Thymes.|repeat T|
|00000da0| 68 79 6d 65 73 20 74 69 | 6d 65 73 0d 77 61 69 74 |hymes ti|mes.wait|
|00000db0| 20 33 30 0d 69 66 20 74 | 68 65 20 6d 6f 75 73 65 | 30.if t|he mouse|
|00000dc0| 63 6c 69 63 6b 20 69 73 | 20 74 72 75 65 20 74 68 |click is| true th|
|00000dd0| 65 6e 0d 70 6c 61 79 20 | 53 74 6f 70 0d 70 6f 70 |en.play |Stop.pop|
|00000de0| 20 63 61 72 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | card.un|lock scr|
|00000df0| 65 65 6e 0d 65 78 69 74 | 20 74 6f 20 68 79 70 65 |een.exit| to hype|
|00000e00| 72 63 61 72 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |rcard.en|d if.end|
|00000e10| 20 72 65 70 65 61 74 0d | 65 6e 64 20 57 61 69 74 | repeat.|end Wait|
|00000e20| 43 6c 6b 0d 2d 2d 20 53 | 63 72 69 70 74 45 64 69 |Clk.-- S|criptEdi|
|00000e30| 74 aa 20 50 72 65 66 73 | 3a 4d 6f 6e 61 63 6f 2c |t. Prefs|:Monaco,|
|00000e40| 39 2c 32 37 2c 32 34 2c | 34 37 32 2c 36 30 30 2c |9,27,24,|472,600,|
|00000e50| 31 38 35 38 2c 31 38 35 | 38 2c 30 0d 00 0d 00 49 |1858,185|8,0....I|
|00000e60| 73 48 6f 6d 65 20 74 68 | 65 6e 0d 70 6f 70 20 63 |sHome th|en.pop c|
|00000e70| 61 72 64 20 2d 2d 20 72 | 65 74 75 72 6e 20 74 6f |ard -- r|eturn to|
|00000e80| 20 77 68 65 72 65 20 77 | 65 20 77 65 72 65 0d 73 | where w|e were.s|
|00000e90| 65 74 20 6c 6f 63 6b 52 | 65 63 65 6e 74 20 74 6f |et lockR|ecent to|
|00000ea0| 20 66 61 6c 73 65 20 2d | 2d 20 63 6c 65 61 6e 20 | false -|- clean |
|00000eb0| 75 70 20 66 6f 72 20 65 | 78 69 74 0d 73 65 74 20 |up for e|xit.set |
|00000ec0| 6c 6f 63 6b 4d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockMess|ages to |
|00000ed0| 66 61 6c 73 65 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |false.un|lock scr|
|00000ee0| 65 65 6e 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 67 |een.end |if.end g|
|00000ef0| 65 74 48 6f 6d 65 49 6e | 66 6f 0d 0d 6f 6e 20 72 |etHomeIn|fo..on r|
|00000f00| 65 73 75 6d 65 0d 2d 2d | 20 52 65 71 75 69 72 65 |esume.--| Require|
|00000f10| 73 20 68 61 6e 64 6c 65 | 72 3a 20 67 65 74 48 6f |s handle|r: getHo|
|00000f20| 6d 65 49 6e 66 6f 0d 2d | 2d 20 67 65 74 73 20 61 |meInfo.-|- gets a|
|00000f30| 6e 64 20 73 65 74 73 20 | 75 73 65 72 20 70 72 65 |nd sets |user pre|
|00000f40| 66 65 72 65 6e 63 65 73 | 20 75 70 6f 6e 20 72 65 |ferences| upon re|
|00000f50| 74 75 72 6e 69 6e 67 0d | 67 65 74 48 6f 6d 65 49 |turning.|getHomeI|
|00000f60| 6e 66 6f 0d 70 61 73 73 | 20 72 65 73 75 6d 65 20 |nfo.pass| resume |
|00000f70| 2d 2d 20 73 6f 20 6f 74 | 68 65 72 73 20 63 61 6e |-- so ot|hers can|
|00000f80| 20 75 73 65 20 69 74 0d | 65 6e 64 20 72 65 73 75 | use it.|end resu|
|00000f90| 6d 65 0d 0d 2d 2d 2d 2d | 2d 20 20 4d 65 6e 75 20 |me..----|- Menu |
|00000fa0| 53 63 72 69 70 74 3a 20 | 20 2d 2d 2d 2d 2d 2d 2d |Script: | -------|
|00000fb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fd0| 2d 2d 2d 2d 2d 2d 0d 0d | 6f 6e 20 63 72 65 61 74 |------..|on creat|
|00000fe0| 65 54 68 65 4d 65 6e 75 | 73 20 72 65 73 75 6d 69 |eTheMenu|s resumi|
|00000ff0| 6e 67 0d 2d 2d 20 52 65 | 71 75 69 72 65 73 20 66 |ng.-- Re|quires f|
|00001000| 75 6e 63 74 69 6f 6e 20 | 68 61 6e 64 6c 65 72 73 |unction |handlers|
|00001010| 3a 20 68 6f 6d 65 4d 65 | 6e 75 49 74 65 6d 73 2c |: homeMe|nuItems,|
|00001020| 68 6f 6d 65 4d 65 6e 75 | 4d 73 67 73 0d 2d 2d 20 |homeMenu|Msgs.-- |
|00001030| 63 72 65 61 74 65 73 20 | 74 68 65 20 22 48 6f 6d |creates |the "Hom|
|00001040| 65 22 20 6d 65 6e 75 20 | 2d 20 63 61 6c 6c 65 64 |e" menu |- called|
|00001050| 20 66 72 6f 6d 20 74 68 | 65 20 62 6b 67 6e 64 73 | from th|e bkgnds|
|00001060| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 69 | of this| stack.i|
|00001070| 66 20 72 65 73 75 6d 69 | 6e 67 20 69 73 20 22 74 |f resumi|ng is "t|
|00001080| 72 75 65 22 20 61 6e 64 | 20 22 48 6f 6d 65 22 20 |rue" and| "Home" |
|00001090| 69 73 20 69 6e 20 74 68 | 65 20 6d 65 6e 75 73 20 |is in th|e menus |
|000010a0| 2d 2d 20 c6 0d 74 68 65 | 6e 20 64 65 6c 65 74 65 |-- ..the|n delete|
|000010b0| 20 6d 65 6e 75 20 22 48 | 6f 6d 65 22 20 2d 2d 20 | menu "H|ome" -- |
|000010c0| c6 20 6e 6f 74 20 6f 75 | 72 20 6d 65 6e 75 0d 69 |. not ou|r menu.i|
|000010d0| 66 20 22 48 6f 6d 65 22 | 20 69 73 20 69 6e 20 74 |f "Home"| is in t|
|000010e0| 68 65 20 6d 65 6e 75 73 | 20 74 68 65 6e 20 65 78 |he menus| then ex|
|000010f0| 69 74 20 63 72 65 61 74 | 65 54 68 65 4d 65 6e 75 |it creat|eTheMenu|
|00001100| 73 20 2d 2d 20 c6 ca 6e | 6f 20 6e 65 65 64 20 69 |s -- ..n|o need i|
|00001110| 66 20 74 68 65 72 65 20 | 61 6c 72 65 61 64 79 0d |f there |already.|
|00001120| 73 68 6f 77 20 6d 65 6e | 75 42 61 72 20 2d 2d 20 |show men|uBar -- |
|00001130| 6a 75 73 74 20 69 6e 20 | 63 61 73 65 20 69 74 27 |just in |case it'|
|00001140| 73 20 68 69 64 64 65 6e | 0d 63 72 65 61 74 65 20 |s hidden|.create |
|00001150| 6d 65 6e 75 20 22 48 6f | 6d 65 22 20 2d 2d 20 c6 |menu "Ho|me" -- .|
|00001160| 0d 70 75 74 20 68 6f 6d | 65 4d 65 6e 75 49 74 65 |.put hom|eMenuIte|
|00001170| 6d 73 28 29 20 69 6e 74 | 6f 20 6d 65 6e 75 20 22 |ms() int|o menu "|
|00001180| 48 6f 6d 65 22 20 77 69 | 74 68 20 6d 65 6e 75 4d |Home" wi|th menuM|
|00001190| 73 67 20 68 6f 6d 65 4d | 65 6e 75 4d 73 67 73 28 |sg homeM|enuMsgs(|
|000011a0| 29 20 2d 2d 20 c6 0d 65 | 6e 64 20 63 72 65 61 74 |) -- ..e|nd creat|
|000011b0| 65 54 68 65 4d 65 6e 75 | 73 0d 0d 66 75 6e 63 74 |eTheMenu|s..funct|
|000011c0| 69 6f 6e 20 68 6f 6d 65 | 4d 65 6e 75 49 74 65 6d |ion home|MenuItem|
|000011d0| 73 20 2d 2d 20 c6 0d 72 | 65 74 75 72 6e 20 22 4e |s -- ..r|eturn "N|
|000011e0| 65 77 20 4c 69 6e 6b 20 | 74 6f 20 53 74 61 63 6b |ew Link |to Stack|
|000011f0| 2e 2e 2e 2c 4e 65 77 20 | 4c 69 6e 6b 20 74 6f 20 |...,New |Link to |
|00001200| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2e 2e 2e 2c 22 |Applicat|ion...,"|
|00001210| 20 26 20 c2 0d 22 4e 65 | 77 20 4c 69 6e 6b 20 74 | & .."Ne|w Link t|
|00001220| 6f 20 44 6f 63 75 6d 65 | 6e 74 2e 2e 2e 2c 2d 2c |o Docume|nt...,-,|
|00001230| 48 6f 6d 65 20 43 61 72 | 64 2c 50 72 65 66 65 72 |Home Car|d,Prefer|
|00001240| 65 6e 63 65 73 2c 53 65 | 61 72 63 68 20 50 61 74 |ences,Se|arch Pat|
|00001250| 68 73 22 0d 65 6e 64 20 | 68 6f 6d 65 4d 65 6e 75 |hs".end |homeMenu|
|00001260| 49 74 65 6d 73 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |Items..f|unction |
|00001270| 68 6f 6d 65 4d 65 6e 75 | 4d 73 67 73 0d 72 65 74 |homeMenu|Msgs.ret|
|00001280| 75 72 6e 20 22 4e 65 77 | 4c 69 6e 6b 20 73 74 61 |urn "New|Link sta|
|00001290| 63 6b 2c 4e 65 77 4c 69 | 6e 6b 20 61 70 70 6c 69 |ck,NewLi|nk appli|
|000012a0| 63 61 74 69 6f 6e 2c 4e | 65 77 4c 69 6e 6b 20 64 |cation,N|ewLink d|
|000012b0| 6f 63 75 6d 65 6e 74 2c | 22 20 26 20 c2 0d 22 65 |ocument,|" & .."e|
|000012c0| 6d 70 74 79 2c 67 6f 20 | 66 69 72 73 74 20 63 61 |mpty,go |first ca|
|000012d0| 72 64 2c 67 6f 20 63 61 | 72 64 22 20 26 26 20 71 |rd,go ca|rd" && q|
|000012e0| 75 6f 74 65 20 26 20 22 | 55 73 65 72 20 50 72 65 |uote & "|User Pre|
|000012f0| 66 65 72 65 6e 63 65 73 | 22 20 26 20 c2 0d 71 75 |ferences|" & ..qu|
|00001300| 6f 74 65 20 26 20 22 2c | 67 6f 20 63 61 72 64 22 |ote & ",|go card"|
|00001310| 20 26 26 20 71 75 6f 74 | 65 20 26 20 22 53 74 61 | && quot|e & "Sta|
|00001320| 63 6b 73 22 20 26 20 71 | 75 6f 74 65 0d 65 6e 64 |cks" & q|uote.end|
|00001330| 20 68 6f 6d 65 4d 65 6e | 75 4d 73 67 73 0d 0d 2d | homeMen|uMsgs..-|
|00001340| 2d 2d 2d 2d 20 20 48 65 | 6c 70 20 53 63 72 69 70 |---- He|lp Scrip|
|00001350| 74 73 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ts ----|--------|
|00001360| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001370| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001380| 0d 0d 6f 6e 20 68 65 6c | 70 20 74 68 65 54 6f 70 |..on hel|p theTop|
|00001390| 69 63 0d 2d 2d 20 c6 20 | 4e 6f 74 65 3a 20 74 79 |ic.-- . |Note: ty|
|000013a0| 70 69 6e 67 20 22 68 65 | 6c 70 20 3c 74 6f 70 69 |ping "he|lp <topi|
|000013b0| 63 3e 22 20 69 6e 74 6f | 20 6d 73 67 20 62 6f 78 |c>" into| msg box|
|000013c0| 20 77 69 6c 6c 20 6c 6f | 63 61 74 65 0d 2d 2d 20 | will lo|cate.-- |
|000013d0| 74 68 65 20 3c 74 6f 70 | 69 63 3e 20 69 6e 20 22 |the <top|ic> in "|
|000013e0| 48 79 70 65 72 43 61 72 | 64 20 48 65 6c 70 22 0d |HyperCar|d Help".|
|000013f0| 70 75 74 20 22 48 79 70 | 65 72 43 61 72 64 20 48 |put "Hyp|erCard H|
|00001400| 65 6c 70 22 20 69 6e 74 | 6f 20 74 68 65 53 74 61 |elp" int|o theSta|
|00001410| 63 6b 0d 69 66 20 22 3a | 22 20 26 20 74 68 65 53 |ck.if ":|" & theS|
|00001420| 74 61 63 6b 20 26 20 72 | 65 74 75 72 6e 20 69 73 |tack & r|eturn is|
|00001430| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 73 20 74 | in the |stacks t|
|00001440| 68 65 6e 0d 69 66 20 74 | 68 65 20 6c 6f 6e 67 57 |hen.if t|he longW|
|00001450| 69 6e 64 6f 77 54 69 74 | 6c 65 73 0d 74 68 65 6e |indowTit|les.then|
|00001460| 20 73 68 6f 77 20 77 69 | 6e 64 6f 77 20 6c 69 6e | show wi|ndow lin|
|00001470| 65 20 28 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |e (the n|umber of|
|00001480| 20 6c 69 6e 65 73 20 6f | 66 20 63 68 61 72 20 31 | lines o|f char 1|
|00001490| 20 74 6f 20 6f 66 66 73 | 65 74 28 22 3a 22 20 26 | to offs|et(":" &|
|000014a0| 20 74 68 65 53 74 61 63 | 6b 20 26 20 72 65 74 75 | theStac|k & retu|
|000014b0| 72 6e 2c 20 74 68 65 20 | 73 74 61 63 6b 73 29 20 |rn, the |stacks) |
|000014c0| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 73 29 20 6f |of the s|tacks) o|
|000014d0| 66 20 74 68 65 20 73 74 | 61 63 6b 73 0d 65 6c 73 |f the st|acks.els|
|000014e0| 65 20 73 68 6f 77 20 77 | 69 6e 64 6f 77 20 74 68 |e show w|indow th|
|000014f0| 65 53 74 61 63 6b 0d 65 | 6c 73 65 0d 67 6f 20 74 |eStack.e|lse.go t|
|00001500| 6f 20 73 74 61 63 6b 20 | 74 68 65 53 74 61 63 6b |o stack |theStack|
|00001510| 20 69 6e 20 61 20 6e 65 | 77 20 77 69 6e 64 6f 77 | in a ne|w window|
|00001520| 20 2d 2d 20 74 72 79 20 | 69 6e 20 61 20 6e 65 77 | -- try |in a new|
|00001530| 20 77 69 6e 64 6f 77 0d | 69 66 20 74 68 65 20 72 | window.|if the r|
|00001540| 65 73 75 6c 74 20 3d 20 | 22 43 61 6e 63 65 6c 22 |esult = |"Cancel"|
|00001550| 20 74 68 65 6e 20 65 78 | 69 74 20 74 6f 20 68 79 | then ex|it to hy|
|00001560| 70 65 72 43 61 72 64 0d | 65 6c 73 65 20 69 66 20 |perCard.|else if |
|00001570| 74 68 65 20 72 65 73 75 | 6c 74 20 ad 20 65 6d 70 |the resu|lt . emp|
|00001580| 74 79 20 74 68 65 6e 20 | 67 6f 20 74 6f 20 73 74 |ty then |go to st|
|00001590| 61 63 6b 20 74 68 65 53 | 74 61 63 6b 0d 65 6e 64 |ack theS|tack.end|
|000015a0| 20 69 66 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c | if.if t|he resul|
|000015b0| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|000015c0| 66 69 6e 64 49 6e 54 69 | 74 6c 65 20 74 68 65 54 |findInTi|tle theT|
|000015d0| 6f 70 69 63 20 2d 2d 20 | 69 6e 20 74 68 65 20 68 |opic -- |in the h|
|000015e0| 65 6c 70 20 73 74 61 63 | 6b 0d 65 6e 64 20 68 65 |elp stac|k.end he|
|000015f0| 6c 70 0d 0d 6f 6e 20 68 | 79 70 65 72 54 61 6c 6b |lp..on h|yperTalk|
|00001600| 20 74 68 65 54 6f 70 69 | 63 0d 2d 2d 20 c6 20 4e | theTopi|c.-- . N|
|00001610| 6f 74 65 3a 20 74 79 70 | 69 6e 67 20 22 68 79 70 |ote: typ|ing "hyp|
|00001620| 65 72 54 61 6c 6b 20 3c | 74 6f 70 69 63 3e 22 20 |erTalk <|topic>" |
|00001630| 69 6e 74 6f 20 6d 73 67 | 20 62 6f 78 20 77 69 6c |into msg| box wil|
|00001640| 6c 20 6c 6f 63 61 74 65 | 0d 2d 2d 20 74 68 65 20 |l locate|.-- the |
|00001650| 3c 74 6f 70 69 63 3e 20 | 69 6e 20 22 48 79 70 65 |<topic> |in "Hype|
|00001660| 72 54 61 6c 6b 20 52 65 | 66 65 72 65 6e 63 65 22 |rTalk Re|ference"|
|00001670| 0d 70 75 74 20 22 48 79 | 70 65 72 54 61 6c 6b 20 |.put "Hy|perTalk |
|00001680| 52 65 66 65 72 65 6e 63 | 65 22 20 69 6e 74 6f 20 |Referenc|e" into |
|00001690| 74 68 65 53 74 61 63 6b | 0d 69 66 20 22 3a 22 20 |theStack|.if ":" |
|000016a0| 26 20 74 68 65 53 74 61 | 63 6b 20 26 20 72 65 74 |& theSta|ck & ret|
|000016b0| 75 72 6e 20 69 73 20 69 | 6e 20 74 68 65 20 73 74 |urn is i|n the st|
|000016c0| 61 63 6b 73 20 74 68 65 | 6e 0d 69 66 20 74 68 65 |acks the|n.if the|
|000016d0| 20 6c 6f 6e 67 57 69 6e | 64 6f 77 54 69 74 6c 65 | longWin|dowTitle|
|000016e0| 73 0d 74 68 65 6e 20 73 | 68 6f 77 20 77 69 6e 64 |s.then s|how wind|
|000016f0| 6f 77 20 6c 69 6e 65 20 | 28 74 68 65 20 6e 75 6d |ow line |(the num|
|00001700| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|00001710| 63 68 61 72 20 31 20 74 | 6f 20 6f 66 66 73 65 74 |char 1 t|o offset|
|00001720| 28 22 3a 22 20 26 20 74 | 68 65 53 74 61 63 6b 20 |(":" & t|heStack |
|00001730| 26 20 72 65 74 75 72 6e | 2c 20 74 68 65 20 73 74 |& return|, the st|
|00001740| 61 63 6b 73 29 20 6f 66 | 20 74 68 65 20 73 74 61 |acks) of| the sta|
|00001750| 63 6b 73 29 20 6f 66 20 | 74 68 65 20 73 74 61 63 |cks) of |the stac|
|00001760| 6b 73 0d 65 6c 73 65 20 | 73 68 6f 77 20 77 69 6e |ks.else |show win|
|00001770| 64 6f 77 20 74 68 65 53 | 74 61 63 6b 0d 65 6c 73 |dow theS|tack.els|
|00001780| 65 0d 67 6f 20 74 6f 20 | 73 74 61 63 6b 20 74 68 |e.go to |stack th|
|00001790| 65 53 74 61 63 6b 20 69 | 6e 20 61 20 6e 65 77 20 |eStack i|n a new |
|000017a0| 77 69 6e 64 6f 77 20 2d | 2d 20 74 72 79 20 69 6e |window -|- try in|
|000017b0| 20 61 20 6e 65 77 20 77 | 69 6e 64 6f 77 0d 69 66 | a new w|indow.if|
|000017c0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 3d 20 22 43 | the res|ult = "C|
|000017d0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|000017e0| 20 74 6f 20 68 79 70 65 | 72 43 61 72 64 0d 65 6c | to hype|rCard.el|
|000017f0| 73 65 20 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |se if th|e result|
|00001800| 20 ad 20 65 6d 70 74 79 | 20 74 68 65 6e 20 67 6f | . empty| then go|
|00001810| 20 74 6f 20 73 74 61 63 | 6b 20 74 68 65 53 74 61 | to stac|k theSta|
|00001820| 63 6b 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |ck.end i|f.if the|
|00001830| 20 72 65 73 75 6c 74 20 | 69 73 20 65 6d 70 74 79 | result |is empty|
|00001840| 20 74 68 65 6e 20 66 69 | 6e 64 49 6e 54 69 74 6c | then fi|ndInTitl|
|00001850| 65 20 74 68 65 54 6f 70 | 69 63 20 2d 2d 20 69 6e |e theTop|ic -- in|
|00001860| 20 74 68 65 20 68 65 6c | 70 20 73 74 61 63 6b 0d | the hel|p stack.|
|00001870| 65 6e 64 20 68 79 70 65 | 72 54 61 6c 6b 0d 0d 2d |end hype|rTalk..-|
|00001880| 2d 2d 2d 2d 20 20 55 74 | 69 6c 69 74 79 20 53 63 |---- Ut|ility Sc|
|00001890| 72 69 70 74 73 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ripts -|--------|
|000018a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000018b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000018c0| 2d 2d 2d 0d 0d 6f 6e 20 | 6e 61 76 0d 2d 2d 20 52 |---..on |nav.-- R|
|000018d0| 65 71 75 69 72 65 73 20 | 58 43 4d 44 3a 20 70 61 |equires |XCMD: pa|
|000018e0| 6c 65 74 74 65 20 22 4e | 61 76 69 67 61 74 6f 72 |lette "N|avigator|
|000018f0| 22 0d 70 61 6c 65 74 74 | 65 20 22 4e 61 76 69 67 |".palett|e "Navig|
|00001900| 61 74 6f 72 22 20 2d 2d | 20 c6 20 74 79 70 65 20 |ator" --| . type |
|00001910| 22 6e 61 76 22 20 69 6e | 74 6f 20 6d 65 73 73 61 |"nav" in|to messa|
|00001920| 67 65 20 62 6f 78 0d 65 | 6e 64 20 6e 61 76 0d 0d |ge box.e|nd nav..|
|00001930| 6f 6e 20 63 0d 2d 2d 20 | 52 65 71 75 69 72 65 73 |on c.-- |Requires|
|00001940| 20 68 61 6e 64 6c 65 72 | 73 3a 20 73 65 74 55 73 | handler|s: setUs|
|00001950| 65 72 4c 65 76 65 6c 46 | 69 76 65 2c 72 65 73 74 |erLevelF|ive,rest|
|00001960| 6f 72 65 55 73 65 72 4c | 65 76 65 6c 0d 70 75 74 |oreUserL|evel.put|
|00001970| 20 74 68 65 20 74 6f 6f | 6c 20 69 6e 74 6f 20 73 | the too|l into s|
|00001980| 61 76 65 54 6f 6f 6c 0d | 63 68 6f 6f 73 65 20 62 |aveTool.|choose b|
|00001990| 72 6f 77 73 65 20 74 6f | 6f 6c 0d 73 65 74 55 73 |rowse to|ol.setUs|
|000019a0| 65 72 4c 65 76 65 6c 46 | 69 76 65 20 2d 2d 20 73 |erLevelF|ive -- s|
|000019b0| 6f 20 74 68 65 20 6d 65 | 6e 75 20 69 74 65 6d 20 |o the me|nu item |
|000019c0| 77 69 6c 6c 20 62 65 20 | 74 68 65 72 65 0d 64 6f |will be |there.do|
|000019d0| 4d 65 6e 75 20 22 43 61 | 72 64 20 49 6e 66 6f 2e |Menu "Ca|rd Info.|
|000019e0| 2e 2e 22 20 2d 2d 20 c6 | 20 74 79 70 65 20 22 63 |.." -- .| type "c|
|000019f0| 22 20 69 6e 74 6f 20 6d | 65 73 73 61 67 65 20 62 |" into m|essage b|
|00001a00| 6f 78 0d 72 65 73 74 6f | 72 65 55 73 65 72 4c 65 |ox.resto|reUserLe|
|00001a10| 76 65 6c 0d 63 68 6f 6f | 73 65 20 73 61 76 65 54 |vel.choo|se saveT|
|00001a20| 6f 6f 6c 0d 65 6e 64 20 | 63 0d 0d 6f 6e 20 62 0d |ool.end |c..on b.|
|00001a30| 2d 2d 20 52 65 71 75 69 | 72 65 73 20 68 61 6e 64 |-- Requi|res hand|
|00001a40| 6c 65 72 73 3a 20 73 65 | 74 55 73 65 72 4c 65 76 |lers: se|tUserLev|
|00001a50| 65 6c 46 69 76 65 2c 72 | 65 73 74 6f 72 65 55 73 |elFive,r|estoreUs|
|00001a60| 65 72 4c 65 76 65 6c 0d | 70 75 74 20 74 68 65 20 |erLevel.|put the |
|00001a70| 74 6f 6f 6c 20 69 6e 74 | 6f 20 73 61 76 65 54 6f |tool int|o saveTo|
|00001a80| 6f 6c 0d 63 68 6f 6f 73 | 65 20 62 72 6f 77 73 65 |ol.choos|e browse|
|00001a90| 20 74 6f 6f 6c 0d 73 65 | 74 55 73 65 72 4c 65 76 | tool.se|tUserLev|
|00001aa0| 65 6c 46 69 76 65 20 2d | 2d 20 73 6f 20 74 68 65 |elFive -|- so the|
|00001ab0| 20 6d 65 6e 75 20 69 74 | 65 6d 20 77 69 6c 6c 20 | menu it|em will |
|00001ac0| 62 65 20 74 68 65 72 65 | 0d 64 6f 4d 65 6e 75 20 |be there|.doMenu |
|00001ad0| 22 42 6b 67 6e 64 20 49 | 6e 66 6f 2e 2e 2e 22 20 |"Bkgnd I|nfo..." |
|00001ae0| 2d 2d 20 c6 20 74 79 70 | 65 20 22 62 22 20 69 6e |-- . typ|e "b" in|
|00001af0| 74 6f 20 6d 65 73 73 61 | 67 65 20 62 6f 78 0d 72 |to messa|ge box.r|
|00001b00| 65 73 74 6f 72 65 55 73 | 65 72 4c 65 76 65 6c 0d |estoreUs|erLevel.|
|00001b10| 63 68 6f 6f 73 65 20 73 | 61 76 65 54 6f 6f 6c 0d |choose s|aveTool.|
|00001b20| 65 6e 64 20 62 0d 0d 6f | 6e 20 73 0d 2d 2d 20 52 |end b..o|n s.-- R|
|00001b30| 65 71 75 69 72 65 73 20 | 68 61 6e 64 6c 65 72 73 |equires |handlers|
|00001b40| 3a 20 73 65 74 55 73 65 | 72 4c 65 76 65 6c 46 69 |: setUse|rLevelFi|
|00001b50| 76 65 2c 72 65 73 74 6f | 72 65 55 73 65 72 4c 65 |ve,resto|reUserLe|
|00001b60| 76 65 6c 0d 70 75 74 20 | 74 68 65 20 74 6f 6f 6c |vel.put |the tool|
|00001b70| 20 69 6e 74 6f 20 73 61 | 76 65 54 6f 6f 6c 0d 63 | into sa|veTool.c|
|00001b80| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00001b90| 6c 0d 73 65 74 55 73 65 | 72 4c 65 76 65 6c 46 69 |l.setUse|rLevelFi|
|00001ba0| 76 65 20 2d 2d 20 73 6f | 20 74 68 65 20 6d 65 6e |ve -- so| the men|
|00001bb0| 75 20 69 74 65 6d 20 77 | 69 6c 6c 20 62 65 20 74 |u item w|ill be t|
|00001bc0| 68 65 72 65 0d 64 6f 4d | 65 6e 75 20 22 53 74 61 |here.doM|enu "Sta|
|00001bd0| 63 6b 20 49 6e 66 6f 2e | 2e 2e 22 20 2d 2d 20 c6 |ck Info.|.." -- .|
|00001be0| 20 74 79 70 65 20 22 73 | 22 20 69 6e 74 6f 20 6d | type "s|" into m|
|00001bf0| 65 73 73 61 67 65 20 62 | 6f 78 0d 72 65 73 74 6f |essage b|ox.resto|
|00001c00| 72 65 55 73 65 72 4c 65 | 76 65 6c 0d 63 68 6f 6f |reUserLe|vel.choo|
|00001c10| 73 65 20 73 61 76 65 54 | 6f 6f 6c 0d 65 6e 64 20 |se saveT|ool.end |
|00001c20| 73 0d 0d 6f 6e 20 6d 77 | 0d 2d 2d 20 52 65 71 75 |s..on mw|.-- Requ|
|00001c30| 69 72 65 73 20 58 57 69 | 6e 64 6f 77 3a 20 4d 65 |ires XWi|ndow: Me|
|00001c40| 73 73 61 67 65 20 57 61 | 74 63 68 65 72 0d 73 68 |ssage Wa|tcher.sh|
|00001c50| 6f 77 20 77 69 6e 64 6f | 77 20 22 4d 65 73 73 61 |ow windo|w "Messa|
|00001c60| 67 65 20 57 61 74 63 68 | 65 72 22 20 2d 2d 20 c6 |ge Watch|er" -- .|
|00001c70| 20 74 79 70 65 20 22 6d | 77 22 20 69 6e 74 6f 20 | type "m|w" into |
|00001c80| 6d 65 73 73 61 67 65 20 | 62 6f 78 0d 65 6e 64 20 |message |box.end |
|00001c90| 6d 77 0d 0d 6f 6e 20 76 | 77 0d 2d 2d 20 52 65 71 |mw..on v|w.-- Req|
|00001ca0| 75 69 72 65 73 20 58 57 | 69 6e 64 6f 77 3a 20 56 |uires XW|indow: V|
|00001cb0| 61 72 69 61 62 6c 65 20 | 57 61 74 63 68 65 72 0d |ariable |Watcher.|
|00001cc0| 73 68 6f 77 20 77 69 6e | 64 6f 77 20 22 56 61 72 |show win|dow "Var|
|00001cd0| 69 61 62 6c 65 20 57 61 | 74 63 68 65 72 22 20 2d |iable Wa|tcher" -|
|00001ce0| 2d 20 c6 20 74 79 70 65 | 20 22 76 77 22 20 69 6e |- . type| "vw" in|
|00001cf0| 74 6f 20 6d 65 73 73 61 | 67 65 20 62 6f 78 0d 65 |to messa|ge box.e|
|00001d00| 6e 64 20 76 77 0d 0d 6f | 6e 20 73 65 0d 2d 2d 20 |nd vw..o|n se.-- |
|00001d10| 52 65 71 75 69 72 65 73 | 20 58 57 69 6e 64 6f 77 |Requires| XWindow|
|00001d20| 3a 20 53 63 72 69 70 74 | 20 45 64 69 74 6f 72 0d |: Script| Editor.|
|00001d30| 61 73 6b 20 22 53 65 74 | 20 73 63 72 69 70 74 20 |ask "Set| script |
|00001d40| 65 64 69 74 6f 72 20 66 | 6f 6e 74 20 74 79 70 65 |editor f|ont type|
|00001d50| 20 74 6f 3a 22 20 77 69 | 74 68 20 22 4d 6f 6e 61 | to:" wi|th "Mona|
|00001d60| 63 6f 22 20 2d 2d 20 c6 | 20 64 65 66 61 75 6c 74 |co" -- .| default|
|00001d70| 20 76 61 6c 75 65 0d 69 | 66 20 74 68 65 20 72 65 | value.i|f the re|
|00001d80| 73 75 6c 74 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |sult is |"Cancel"|
|00001d90| 20 6f 72 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 | or it i|s empty |
|00001da0| 74 68 65 6e 20 65 78 69 | 74 20 73 65 0d 73 65 74 |then exi|t se.set|
|00001db0| 20 73 63 72 69 70 74 54 | 65 78 74 46 6f 6e 74 20 | scriptT|extFont |
|00001dc0| 74 6f 20 69 74 0d 61 73 | 6b 20 22 53 65 74 20 73 |to it.as|k "Set s|
|00001dd0| 63 72 69 70 74 20 65 64 | 69 74 6f 72 20 66 6f 6e |cript ed|itor fon|
|00001de0| 74 20 73 69 7a 65 20 74 | 6f 3a 22 20 77 69 74 68 |t size t|o:" with|
|00001df0| 20 22 39 22 20 2d 2d 20 | c6 20 64 65 66 61 75 6c | "9" -- |. defaul|
|00001e00| 74 20 76 61 6c 75 65 0d | 69 66 20 74 68 65 20 72 |t value.|if the r|
|00001e10| 65 73 75 6c 74 20 69 73 | 20 22 43 61 6e 63 65 6c |esult is| "Cancel|
|00001e20| 22 20 6f 72 20 69 74 20 | 69 73 20 65 6d 70 74 79 |" or it |is empty|
|00001e30| 20 74 68 65 6e 20 65 78 | 69 74 20 73 65 0d 73 65 | then ex|it se.se|
|00001e40| 74 20 73 63 72 69 70 74 | 54 65 78 74 53 69 7a 65 |t script|TextSize|
|00001e50| 20 74 6f 20 69 74 0d 65 | 6e 64 20 73 65 0d 0d 6f | to it.e|nd se..o|
|00001e60| 6e 20 73 73 20 70 61 74 | 74 65 72 6e 2c 73 74 61 |n ss pat|tern,sta|
|00001e70| 63 6b 4e 61 6d 65 0d 2d | 2d 20 52 65 71 75 69 72 |ckName.-|- Requir|
|00001e80| 65 73 20 68 61 6e 64 6c | 65 72 3a 20 73 65 61 72 |es handl|er: sear|
|00001e90| 63 68 53 63 72 69 70 74 | 0d 73 65 61 72 63 68 53 |chScript|.searchS|
|00001ea0| 63 72 69 70 74 20 70 61 | 74 74 65 72 6e 2c 73 74 |cript pa|ttern,st|
|00001eb0| 61 63 6b 4e 61 6d 65 20 | 2d 2d 20 c6 20 74 79 70 |ackName |-- . typ|
|00001ec0| 65 20 22 73 73 22 20 69 | 6e 74 6f 20 6d 65 73 73 |e "ss" i|nto mess|
|00001ed0| 61 67 65 20 62 6f 78 0d | 65 6e 64 20 73 73 0d 0d |age box.|end ss..|
|00001ee0| 6f 6e 20 78 79 0d 2d 2d | 20 c6 20 74 79 70 65 20 |on xy.--| . type |
|00001ef0| 22 78 79 22 20 69 6e 74 | 6f 20 6d 65 73 73 61 67 |"xy" int|o messag|
|00001f00| 65 20 62 6f 78 20 74 6f | 20 6f 62 74 61 69 6e 20 |e box to| obtain |
|00001f10| 6d 6f 75 73 65 20 63 6f | 6f 72 64 69 6e 61 74 65 |mouse co|ordinate|
|00001f20| 73 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |s.set cu|rsor to |
|00001f30| 63 72 6f 73 73 0d 72 65 | 70 65 61 74 20 75 6e 74 |cross.re|peat unt|
|00001f40| 69 6c 20 74 68 65 20 6d | 6f 75 73 65 43 6c 69 63 |il the m|ouseClic|
|00001f50| 6b 0d 70 75 74 20 74 68 | 65 20 6d 6f 75 73 65 4c |k.put th|e mouseL|
|00001f60| 6f 63 20 26 26 20 22 20 | 20 68 6f 72 7a 3a 22 20 |oc && " | horz:" |
|00001f70| 26 20 74 68 65 20 6d 6f | 75 73 65 48 20 26 26 20 |& the mo|useH && |
|00001f80| 22 20 20 76 65 72 74 3a | 22 20 26 20 74 68 65 20 |" vert:|" & the |
|00001f90| 6d 6f 75 73 65 56 20 2d | 2d 20 c6 0d 65 6e 64 20 |mouseV -|- ..end |
|00001fa0| 72 65 70 65 61 74 0d 65 | 6e 64 20 78 79 0d 0d 6f |repeat.e|nd xy..o|
|00001fb0| 6e 20 64 69 73 61 6c 6c | 6f 77 49 6e 74 65 72 72 |n disall|owInterr|
|00001fc0| 75 70 74 69 6f 6e 20 2d | 2d 20 73 6f 20 63 61 6e |uption -|- so can|
|00001fd0| 27 74 20 73 74 6f 70 20 | 73 63 72 69 70 74 73 20 |'t stop |scripts |
|00001fe0| 77 68 69 6c 65 20 72 75 | 6e 6e 69 6e 67 0d 73 65 |while ru|nning.se|
|00001ff0| 74 20 63 61 6e 74 41 62 | 6f 72 74 20 6f 66 20 74 |t cantAb|ort of t|
|00002000| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 74 72 75 |his stac|k to tru|
|00002010| 65 0d 65 6e 64 20 64 69 | 73 61 6c 6c 6f 77 49 6e |e.end di|sallowIn|
|00002020| 74 65 72 72 75 70 74 69 | 6f 6e 0d 0d 6f 6e 20 61 |terrupti|on..on a|
|00002030| 6c 6c 6f 77 49 6e 74 65 | 72 72 75 70 74 69 6f 6e |llowInte|rruption|
|00002040| 20 2d 2d 20 73 6f 20 63 | 61 6e 20 73 74 6f 70 20 | -- so c|an stop |
|00002050| 73 63 72 69 70 74 73 20 | 77 68 69 6c 65 20 72 75 |scripts |while ru|
|00002060| 6e 6e 69 6e 67 0d 73 65 | 74 20 63 61 6e 74 41 62 |nning.se|t cantAb|
|00002070| 6f 72 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ort of t|his stac|
|00002080| 6b 20 74 6f 20 66 61 6c | 73 65 0d 65 6e 64 20 61 |k to fal|se.end a|
|00002090| 6c 6c 6f 77 49 6e 74 65 | 72 72 75 70 74 69 6f 6e |llowInte|rruption|
|000020a0| 0d 0d 6f 6e 20 73 65 74 | 55 73 65 72 4c 65 76 65 |..on set|UserLeve|
|000020b0| 6c 46 69 76 65 20 2d 2d | 20 73 6f 6d 65 20 74 68 |lFive --| some th|
|000020c0| 69 6e 67 73 20 6e 65 65 | 64 20 74 68 69 73 20 75 |ings nee|d this u|
|000020d0| 73 65 72 4c 65 76 65 6c | 0d 67 6c 6f 62 61 6c 20 |serLevel|.global |
|000020e0| 53 76 4c 76 6c 0d 70 75 | 74 20 74 68 65 20 75 73 |SvLvl.pu|t the us|
|000020f0| 65 72 4c 65 76 65 6c 20 | 69 6e 74 6f 20 53 76 4c |erLevel |into SvL|
|00002100| 76 6c 0d 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |vl.set t|he userL|
|00002110| 65 76 65 6c 20 74 6f 20 | 35 0d 65 6e 64 20 73 65 |evel to |5.end se|
|00002120| 74 55 73 65 72 4c 65 76 | 65 6c 46 69 76 65 0d 0d |tUserLev|elFive..|
|00002130| 6f 6e 20 72 65 73 74 6f | 72 65 55 73 65 72 4c 65 |on resto|reUserLe|
|00002140| 76 65 6c 20 2d 2d 20 75 | 73 65 20 61 66 74 65 72 |vel -- u|se after|
|00002150| 20 73 65 74 55 73 65 72 | 4c 65 76 65 6c 46 69 76 | setUser|LevelFiv|
|00002160| 65 0d 67 6c 6f 62 61 6c | 20 53 76 4c 76 6c 0d 69 |e.global| SvLvl.i|
|00002170| 66 20 53 76 4c 76 6c 20 | 69 73 20 61 20 6e 75 6d |f SvLvl |is a num|
|00002180| 62 65 72 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |ber then| set the|
|00002190| 20 75 73 65 72 4c 65 76 | 65 6c 20 74 6f 20 53 76 | userLev|el to Sv|
|000021a0| 4c 76 6c 0d 65 6e 64 20 | 72 65 73 74 6f 72 65 55 |Lvl.end |restoreU|
|000021b0| 73 65 72 4c 65 76 65 6c | 0d 0d 6f 6e 20 73 65 61 |serLevel|..on sea|
|000021c0| 72 63 68 53 63 72 69 70 | 74 20 70 61 74 74 65 72 |rchScrip|t patter|
|000021d0| 6e 2c 73 74 61 63 6b 4e | 61 6d 65 0d 2d 2d 20 52 |n,stackN|ame.-- R|
|000021e0| 65 71 75 69 72 65 73 20 | 68 61 6e 64 6c 65 72 73 |equires |handlers|
|000021f0| 3a 20 73 65 74 55 73 65 | 72 4c 65 76 65 6c 46 69 |: setUse|rLevelFi|
|00002200| 76 65 2c 72 65 73 74 6f | 72 65 55 73 65 72 4c 65 |ve,resto|reUserLe|
|00002210| 76 65 6c 0d 2d 2d 20 73 | 65 61 72 63 68 20 41 4c |vel.-- s|earch AL|
|00002220| 4c 20 73 63 72 69 70 74 | 73 20 6f 66 20 61 20 73 |L script|s of a s|
|00002230| 74 61 63 6b 20 66 6f 72 | 20 61 20 27 70 61 74 74 |tack for| a 'patt|
|00002240| 65 72 6e 27 20 6f 66 20 | 63 68 61 72 61 63 74 65 |ern' of |characte|
|00002250| 72 73 0d 67 6c 6f 62 61 | 6c 20 53 63 72 69 70 74 |rs.globa|l Script|
|00002260| 46 69 6e 64 53 74 72 69 | 6e 67 20 2d 2d 20 48 79 |FindStri|ng -- Hy|
|00002270| 70 65 72 54 61 6c 6b 20 | 67 6c 6f 62 61 6c 20 76 |perTalk |global v|
|00002280| 61 72 69 61 62 6c 65 0d | 73 65 74 20 6c 6f 63 6b |ariable.|set lock|
|00002290| 52 65 63 65 6e 74 20 74 | 6f 20 74 72 75 65 0d 73 |Recent t|o true.s|
|000022a0| 65 74 55 73 65 72 4c 65 | 76 65 6c 46 69 76 65 20 |etUserLe|velFive |
|000022b0| 2d 2d 20 73 61 76 65 73 | 20 63 75 72 72 65 6e 74 |-- saves| current|
|000022c0| 20 6c 65 76 65 6c 20 61 | 6e 64 20 73 65 74 73 20 | level a|nd sets |
|000022d0| 6c 65 76 65 6c 20 35 0d | 70 75 73 68 20 63 61 72 |level 5.|push car|
|000022e0| 64 20 2d 2d 20 72 65 6d | 65 6d 62 65 72 20 77 68 |d -- rem|ember wh|
|000022f0| 65 72 65 20 77 65 20 61 | 72 65 0d 69 66 20 70 61 |ere we a|re.if pa|
|00002300| 74 74 65 72 6e 20 69 73 | 20 65 6d 70 74 79 20 74 |ttern is| empty t|
|00002310| 68 65 6e 0d 61 73 6b 20 | 22 53 65 61 72 63 68 20 |hen.ask |"Search |
|00002320| 66 6f 72 20 77 68 61 74 | 20 73 74 72 69 6e 67 3f |for what| string?|
|00002330| 22 20 77 69 74 68 20 53 | 63 72 69 70 74 46 69 6e |" with S|criptFin|
|00002340| 64 53 74 72 69 6e 67 20 | 2d 2d 20 c6 0d 69 66 20 |dString |-- ..if |
|00002350| 28 69 74 20 69 73 20 65 | 6d 70 74 79 29 20 6f 72 |(it is e|mpty) or|
|00002360| 20 28 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 | (the re|sult is |
|00002370| 22 43 61 6e 63 65 6c 22 | 29 20 74 68 65 6e 20 65 |"Cancel"|) then e|
|00002380| 78 69 74 20 73 65 61 72 | 63 68 53 63 72 69 70 74 |xit sear|chScript|
|00002390| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 70 61 74 |.put it |into pat|
|000023a0| 74 65 72 6e 20 2d 2d 20 | 6f 74 68 65 72 77 69 73 |tern -- |otherwis|
|000023b0| 65 20 75 73 65 20 69 74 | 20 61 73 20 74 68 65 20 |e use it| as the |
|000023c0| 73 65 61 72 63 68 20 70 | 61 74 74 65 72 6e 0d 65 |search p|attern.e|
|000023d0| 6e 64 20 69 66 0d 2d 2d | 20 70 75 74 20 69 6e 20 |nd if.--| put in |
|000023e0| 48 79 70 65 72 54 61 6c | 6b 20 67 6c 6f 62 61 6c |HyperTal|k global|
|000023f0| 20 73 6f 20 6a 75 73 74 | 20 43 4d 44 2d 46 20 69 | so just| CMD-F i|
|00002400| 6e 20 65 64 69 74 6f 72 | 20 66 6f 72 20 65 61 73 |n editor| for eas|
|00002410| 79 20 66 69 6e 64 0d 70 | 75 74 20 70 61 74 74 65 |y find.p|ut patte|
|00002420| 72 6e 20 69 6e 74 6f 20 | 53 63 72 69 70 74 46 69 |rn into |ScriptFi|
|00002430| 6e 64 53 74 72 69 6e 67 | 0d 73 65 74 20 6c 6f 63 |ndString|.set loc|
|00002440| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 74 72 75 |kMessage|s to tru|
|00002450| 65 20 2d 2d 20 61 76 6f | 69 64 20 6f 70 65 6e 20 |e -- avo|id open |
|00002460| 6d 65 73 73 61 67 65 73 | 0d 69 66 20 73 74 61 63 |messages|.if stac|
|00002470| 6b 4e 61 6d 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 |kName is| not emp|
|00002480| 74 79 20 74 68 65 6e 20 | 67 6f 20 74 6f 20 73 74 |ty then |go to st|
|00002490| 61 63 6b 20 73 74 61 63 | 6b 4e 61 6d 65 0d 2d 2d |ack stac|kName.--|
|000024a0| 20 4e 6f 74 65 3a 20 69 | 66 20 73 74 61 63 6b 4e | Note: i|f stackN|
|000024b0| 61 6d 65 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ame is e|mpty the|
|000024c0| 6e 20 77 65 20 73 65 61 | 72 63 68 20 74 68 65 20 |n we sea|rch the |
|000024d0| 63 75 72 72 65 6e 74 20 | 73 74 61 63 6b 0d 73 65 |current |stack.se|
|000024e0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|000024f0| 0d 2d 2d 20 73 65 61 72 | 63 68 20 74 68 65 20 73 |.-- sear|ch the s|
|00002500| 74 61 63 6b 20 73 63 72 | 69 70 74 20 6f 66 20 74 |tack scr|ipt of t|
|00002510| 68 65 20 73 74 61 63 6b | 0d 69 66 20 74 68 65 20 |he stack|.if the |
|00002520| 73 63 72 69 70 74 20 6f | 66 20 74 68 69 73 20 73 |script o|f this s|
|00002530| 74 61 63 6b 20 63 6f 6e | 74 61 69 6e 73 20 70 61 |tack con|tains pa|
|00002540| 74 74 65 72 6e 0d 74 68 | 65 6e 20 65 64 69 74 20 |ttern.th|en edit |
|00002550| 73 63 72 69 70 74 20 6f | 66 20 74 68 69 73 20 73 |script o|f this s|
|00002560| 74 61 63 6b 0d 2d 2d 20 | 73 65 61 72 63 68 20 74 |tack.-- |search t|
|00002570| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 73 63 |he backg|round sc|
|00002580| 72 69 70 74 73 20 61 6e | 64 20 6f 62 6a 65 63 74 |ripts an|d object|
|00002590| 73 20 6f 66 20 74 68 65 | 20 73 74 61 63 6b 0d 72 |s of the| stack.r|
|000025a0| 65 70 65 61 74 20 77 69 | 74 68 20 63 75 72 42 6b |epeat wi|th curBk|
|000025b0| 67 6e 64 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |gnd = 1 |to the n|
|000025c0| 75 6d 62 65 72 20 6f 66 | 20 62 6b 67 6e 64 73 0d |umber of| bkgnds.|
|000025d0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000025e0| 73 79 0d 67 6f 20 74 6f | 20 63 61 72 64 20 31 20 |sy.go to| card 1 |
|000025f0| 6f 66 20 62 6b 67 6e 64 | 20 63 75 72 42 6b 67 6e |of bkgnd| curBkgn|
|00002600| 64 0d 69 66 20 74 68 65 | 20 73 63 72 69 70 74 20 |d.if the| script |
|00002610| 6f 66 20 74 68 69 73 20 | 62 6b 67 6e 64 20 63 6f |of this |bkgnd co|
|00002620| 6e 74 61 69 6e 73 20 70 | 61 74 74 65 72 6e 0d 74 |ntains p|attern.t|
|00002630| 68 65 6e 20 65 64 69 74 | 20 73 63 72 69 70 74 20 |hen edit| script |
|00002640| 6f 66 20 62 6b 67 6e 64 | 20 63 75 72 42 6b 67 6e |of bkgnd| curBkgn|
|00002650| 64 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 75 |d.repeat| with cu|
|00002660| 72 42 67 42 74 6e 20 3d | 20 31 20 74 6f 20 74 68 |rBgBtn =| 1 to th|
|00002670| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 6b 67 6e |e number| of bkgn|
|00002680| 64 20 62 75 74 74 6f 6e | 73 0d 73 65 74 20 63 75 |d button|s.set cu|
|00002690| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 69 66 20 |rsor to |busy.if |
|000026a0| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 62 6b |the scri|pt of bk|
|000026b0| 67 6e 64 20 62 75 74 74 | 6f 6e 20 63 75 72 42 67 |gnd butt|on curBg|
|000026c0| 42 74 6e 20 63 6f 6e 74 | 61 69 6e 73 20 70 61 74 |Btn cont|ains pat|
|000026d0| 74 65 72 6e 0d 74 68 65 | 6e 20 65 64 69 74 20 73 |tern.the|n edit s|
|000026e0| 63 72 69 70 74 20 6f 66 | 20 62 6b 67 6e 64 20 62 |cript of| bkgnd b|
|000026f0| 75 74 74 6f 6e 20 63 75 | 72 42 67 42 74 6e 0d 65 |utton cu|rBgBtn.e|
|00002700| 6e 64 20 72 65 70 65 61 | 74 0d 72 65 70 65 61 74 |nd repea|t.repeat|
|00002710| 20 77 69 74 68 20 63 75 | 72 42 67 46 69 65 6c 64 | with cu|rBgField|
|00002720| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00002730| 65 72 20 6f 66 20 62 6b | 67 6e 64 20 66 69 65 6c |er of bk|gnd fiel|
|00002740| 64 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ds.set c|ursor to|
|00002750| 20 62 75 73 79 0d 69 66 | 20 74 68 65 20 73 63 72 | busy.if| the scr|
|00002760| 69 70 74 20 6f 66 20 62 | 6b 67 6e 64 20 66 69 65 |ipt of b|kgnd fie|
|00002770| 6c 64 20 63 75 72 42 67 | 46 69 65 6c 64 20 63 6f |ld curBg|Field co|
|00002780| 6e 74 61 69 6e 73 20 70 | 61 74 74 65 72 6e 0d 74 |ntains p|attern.t|
|00002790| 68 65 6e 20 65 64 69 74 | 20 73 63 72 69 70 74 20 |hen edit| script |
|000027a0| 6f 66 20 62 6b 67 6e 64 | 20 66 69 65 6c 64 20 63 |of bkgnd| field c|
|000027b0| 75 72 42 67 46 69 65 6c | 64 0d 65 6e 64 20 72 65 |urBgFiel|d.end re|
|000027c0| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|000027d0| 2d 2d 20 73 65 61 72 63 | 68 20 74 68 65 20 63 61 |-- searc|h the ca|
|000027e0| 72 64 20 73 63 72 69 70 | 74 73 20 61 6e 64 20 6f |rd scrip|ts and o|
|000027f0| 62 6a 65 63 74 73 20 6f | 66 20 74 68 65 20 73 74 |bjects o|f the st|
|00002800| 61 63 6b 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ack.repe|at with |
|00002810| 63 75 72 43 61 72 64 20 | 3d 20 31 20 74 6f 20 74 |curCard |= 1 to t|
|00002820| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |he numbe|r of car|
|00002830| 64 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ds.set c|ursor to|
|00002840| 20 62 75 73 79 0d 67 6f | 20 63 61 72 64 20 63 75 | busy.go| card cu|
|00002850| 72 43 61 72 64 0d 69 66 | 20 74 68 65 20 73 63 72 |rCard.if| the scr|
|00002860| 69 70 74 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ipt of t|his card|
|00002870| 20 63 6f 6e 74 61 69 6e | 73 20 70 61 74 74 65 72 | contain|s patter|
|00002880| 6e 0d 74 68 65 6e 20 65 | 64 69 74 20 73 63 72 69 |n.then e|dit scri|
|00002890| 70 74 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 0d |pt of th|is card.|
|000028a0| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 43 |repeat w|ith curC|
|000028b0| 64 42 74 6e 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |dBtn = 1| to the |
|000028c0| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 20 62 |number o|f card b|
|000028d0| 75 74 74 6f 6e 73 0d 73 | 65 74 20 63 75 72 73 6f |uttons.s|et curso|
|000028e0| 72 20 74 6f 20 62 75 73 | 79 0d 69 66 20 74 68 65 |r to bus|y.if the|
|000028f0| 20 73 63 72 69 70 74 20 | 6f 66 20 63 61 72 64 20 | script |of card |
|00002900| 62 75 74 74 6f 6e 20 63 | 75 72 43 64 42 74 6e 20 |button c|urCdBtn |
|00002910| 63 6f 6e 74 61 69 6e 73 | 20 70 61 74 74 65 72 6e |contains| pattern|
|00002920| 0d 74 68 65 6e 20 65 64 | 69 74 20 73 63 72 69 70 |.then ed|it scrip|
|00002930| 74 20 6f 66 20 63 61 72 | 64 20 62 75 74 74 6f 6e |t of car|d button|
|00002940| 20 63 75 72 43 64 42 74 | 6e 0d 65 6e 64 20 72 65 | curCdBt|n.end re|
|00002950| 70 65 61 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |peat.rep|eat with|
|00002960| 20 63 75 72 43 64 46 6c | 64 20 3d 20 31 20 74 6f | curCdFl|d = 1 to|
|00002970| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00002980| 61 72 64 20 66 69 65 6c | 64 73 0d 73 65 74 20 63 |ard fiel|ds.set c|
|00002990| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 69 66 |ursor to| busy.if|
|000029a0| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 63 | the scr|ipt of c|
|000029b0| 61 72 64 20 66 69 65 6c | 64 20 63 75 72 43 64 46 |ard fiel|d curCdF|
|000029c0| 6c 64 20 63 6f 6e 74 61 | 69 6e 73 20 70 61 74 74 |ld conta|ins patt|
|000029d0| 65 72 6e 0d 74 68 65 6e | 20 65 64 69 74 20 73 63 |ern.then| edit sc|
|000029e0| 72 69 70 74 20 6f 66 20 | 63 61 72 64 20 66 69 65 |ript of |card fie|
|000029f0| 6c 64 20 63 75 72 43 64 | 46 6c 64 0d 65 6e 64 20 |ld curCd|Fld.end |
|00002a00| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00002a10| 74 0d 70 6f 70 20 63 61 | 72 64 20 2d 2d 20 72 65 |t.pop ca|rd -- re|
|00002a20| 74 75 72 6e 20 74 6f 20 | 77 68 65 72 65 20 77 65 |turn to |where we|
|00002a30| 20 77 65 72 65 0d 73 65 | 74 20 6c 6f 63 6b 4d 65 | were.se|t lockMe|
|00002a40| 73 73 61 67 65 73 20 74 | 6f 20 66 61 6c 73 65 0d |ssages t|o false.|
|00002a50| 73 65 74 20 6c 6f 63 6b | 52 65 63 65 6e 74 20 74 |set lock|Recent t|
|00002a60| 6f 20 66 61 6c 73 65 0d | 72 65 73 74 6f 72 65 55 |o false.|restoreU|
|00002a70| 73 65 72 4c 65 76 65 6c | 20 2d 2d 20 73 65 74 20 |serLevel| -- set |
|00002a80| 75 73 65 72 4c 65 76 65 | 6c 20 62 61 63 6b 20 74 |userLeve|l back t|
|00002a90| 6f 20 77 68 61 74 65 76 | 65 72 20 69 74 20 77 61 |o whatev|er it wa|
|00002aa0| 73 0d 61 6e 73 77 65 72 | 20 22 53 65 61 72 63 68 |s.answer| "Search|
|00002ab0| 20 73 63 72 69 70 74 20 | 64 6f 6e 65 21 22 20 2d | script |done!" -|
|00002ac0| 2d 20 c6 0d 65 6e 64 20 | 73 65 61 72 63 68 53 63 |- ..end |searchSc|
|00002ad0| 72 69 70 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 6c |ript..fu|nction l|
|00002ae0| 61 73 74 48 43 49 74 65 | 6d 20 64 65 6c 69 6d 2c |astHCIte|m delim,|
|00002af0| 74 68 65 54 65 78 74 0d | 2d 2d 20 72 65 74 75 72 |theText.|-- retur|
|00002b00| 6e 73 20 74 68 65 20 70 | 6f 72 74 69 6f 6e 20 6f |ns the p|ortion o|
|00002b10| 66 20 3c 74 68 65 54 65 | 78 74 3e 20 74 68 61 74 |f <theTe|xt> that|
|00002b20| 20 66 6f 6c 6c 6f 77 73 | 20 74 68 65 20 6c 61 73 | follows| the las|
|00002b30| 74 20 3c 64 65 6c 69 6d | 3e 0d 69 66 20 64 65 6c |t <delim|>.if del|
|00002b40| 69 6d 20 69 73 20 69 6e | 20 74 68 65 54 65 78 74 |im is in| theText|
|00002b50| 20 74 68 65 6e 0d 70 75 | 74 20 6c 61 73 74 48 43 | then.pu|t lastHC|
|00002b60| 49 74 65 6d 28 64 65 6c | 69 6d 2c 63 68 61 72 20 |Item(del|im,char |
|00002b70| 6f 66 66 73 65 74 28 64 | 65 6c 69 6d 2c 74 68 65 |offset(d|elim,the|
|00002b80| 54 65 78 74 29 20 2b 20 | 31 20 74 6f 20 c2 0d 6c |Text) + |1 to ..l|
|00002b90| 65 6e 67 74 68 28 74 68 | 65 54 65 78 74 29 20 6f |ength(th|eText) o|
|00002ba0| 66 20 74 68 65 54 65 78 | 74 29 20 69 6e 74 6f 20 |f theTex|t) into |
|00002bb0| 74 68 65 54 65 78 74 0d | 65 6e 64 20 69 66 0d 72 |theText.|end if.r|
|00002bc0| 65 74 75 72 6e 20 74 68 | 65 54 65 78 74 0d 65 6e |eturn th|eText.en|
|00002bd0| 64 20 6c 61 73 74 48 43 | 49 74 65 6d 0d 0d 2d 2d |d lastHC|Item..--|
|00002be0| 2d 2d 2d 20 20 4e 65 77 | 6c 69 6e 6b 20 48 61 6e |--- New|link Han|
|00002bf0| 64 6c 65 72 73 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |dlers -|--------|
|00002c00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c20| 2d 0d 0d 6f 6e 20 6e 65 | 77 4c 69 6e 6b 20 74 68 |-..on ne|wLink th|
|00002c30| 65 54 79 70 65 0d 69 66 | 20 74 68 65 20 73 68 6f |eType.if| the sho|
|00002c40| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00002c50| 73 74 61 63 6b 20 3d 20 | 22 48 6f 6d 65 22 0d 74 |stack = |"Home".t|
|00002c60| 68 65 6e 20 73 65 6e 64 | 20 22 6e 65 77 4c 69 6e |hen send| "newLin|
|00002c70| 6b 22 20 26 26 20 74 68 | 65 54 79 70 65 20 74 6f |k" && th|eType to|
|00002c80| 20 62 6b 67 6e 64 20 69 | 64 20 32 37 31 37 0d 65 | bkgnd i|d 2717.e|
|00002c90| 6e 64 20 6e 65 77 4c 69 | 6e 6b 0d 0d 2d 2d 2d 2d |nd newLi|nk..----|
|00002ca0| 2d 20 20 46 6f 6e 74 20 | 41 64 6a 75 73 74 6d 65 |- Font |Adjustme|
|00002cb0| 6e 74 20 53 63 72 69 70 | 74 73 3a 20 20 2d 2d 2d |nt Scrip|ts: ---|
|00002cc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002cd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00002ce0| 0d 66 75 6e 63 74 69 6f | 6e 20 63 68 65 63 6b 48 |.functio|n checkH|
|00002cf0| 43 46 6f 6e 74 20 74 68 | 65 46 6f 6e 74 2c 70 6f |CFont th|eFont,po|
|00002d00| 69 6e 74 53 69 7a 65 73 | 0d 2d 2d 20 52 65 71 75 |intSizes|.-- Requ|
|00002d10| 69 72 65 73 20 58 46 43 | 4e 3a 20 46 6f 6e 74 45 |ires XFC|N: FontE|
|00002d20| 78 69 73 74 73 0d 2d 2d | 20 72 65 74 75 72 6e 73 |xists.--| returns|
|00002d30| 20 61 20 6c 69 73 74 20 | 6f 66 20 66 6f 6e 74 20 | a list |of font |
|00002d40| 73 69 7a 65 73 20 6e 65 | 65 64 65 64 20 62 75 74 |sizes ne|eded but|
|00002d50| 20 6e 6f 74 20 69 6e 20 | 74 68 65 20 73 79 73 74 | not in |the syst|
|00002d60| 65 6d 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |em.put e|mpty int|
|00002d70| 6f 20 6d 69 73 73 69 6e | 67 0d 2d 2d 20 73 74 65 |o missin|g.-- ste|
|00002d80| 70 73 20 74 68 72 6f 75 | 67 68 20 65 61 63 68 20 |ps throu|gh each |
|00002d90| 70 6f 69 6e 74 20 73 69 | 7a 65 20 70 61 73 73 65 |point si|ze passe|
|00002da0| 64 20 69 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |d in.rep|eat with|
|00002db0| 20 63 6f 75 6e 74 20 3d | 20 31 20 74 6f 20 74 68 | count =| 1 to th|
|00002dc0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 74 65 6d |e number| of item|
|00002dd0| 73 20 69 6e 20 70 6f 69 | 6e 74 53 69 7a 65 73 0d |s in poi|ntSizes.|
|00002de0| 70 75 74 20 69 74 65 6d | 20 63 6f 75 6e 74 20 6f |put item| count o|
|00002df0| 66 20 70 6f 69 6e 74 53 | 69 7a 65 73 20 69 6e 74 |f pointS|izes int|
|00002e00| 6f 20 74 68 65 43 75 72 | 72 65 6e 74 50 74 53 69 |o theCur|rentPtSi|
|00002e10| 7a 65 0d 69 66 20 6e 6f | 74 20 46 6f 6e 74 45 78 |ze.if no|t FontEx|
|00002e20| 69 73 74 73 28 74 68 65 | 46 6f 6e 74 2c 74 68 65 |ists(the|Font,the|
|00002e30| 43 75 72 72 65 6e 74 50 | 74 53 69 7a 65 29 20 2d |CurrentP|tSize) -|
|00002e40| 2d 20 69 66 20 63 61 6e | 27 74 20 66 69 6e 64 20 |- if can|'t find |
|00002e50| 69 74 0d 74 68 65 6e 20 | 70 75 74 20 74 68 65 43 |it.then |put theC|
|00002e60| 75 72 72 65 6e 74 50 74 | 53 69 7a 65 20 69 6e 74 |urrentPt|Size int|
|00002e70| 6f 20 6c 61 73 74 20 69 | 74 65 6d 20 6f 66 20 6d |o last i|tem of m|
|00002e80| 69 73 73 69 6e 67 0d 65 | 6e 64 20 72 65 70 65 61 |issing.e|nd repea|
|00002e90| 74 0d 69 66 20 6d 69 73 | 73 69 6e 67 20 69 73 20 |t.if mis|sing is |
|00002ea0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00002eb0| 75 74 20 74 68 65 46 6f | 6e 74 20 26 20 73 70 61 |ut theFo|nt & spa|
|00002ec0| 63 65 20 62 65 66 6f 72 | 65 20 6d 69 73 73 69 6e |ce befor|e missin|
|00002ed0| 67 0d 70 75 74 20 72 65 | 74 75 72 6e 20 61 66 74 |g.put re|turn aft|
|00002ee0| 65 72 20 6d 69 73 73 69 | 6e 67 0d 65 6e 64 20 69 |er missi|ng.end i|
|00002ef0| 66 0d 72 65 74 75 72 6e | 20 6d 69 73 73 69 6e 67 |f.return| missing|
|00002f00| 0d 65 6e 64 20 63 68 65 | 63 6b 48 43 46 6f 6e 74 |.end che|ckHCFont|
|00002f10| 0d 0d 6f 6e 20 63 68 65 | 63 6b 46 6f 72 4d 69 73 |..on che|ckForMis|
|00002f20| 73 69 6e 67 46 6f 6e 74 | 73 0d 2d 2d 20 52 65 71 |singFont|s.-- Req|
|00002f30| 75 69 72 65 73 20 68 61 | 6e 64 6c 65 72 3a 20 63 |uires ha|ndler: c|
|00002f40| 68 65 63 6b 48 43 46 6f | 6e 74 0d 2d 2d 20 63 68 |heckHCFo|nt.-- ch|
|00002f50| 65 63 6b 20 74 6f 20 73 | 65 65 20 69 66 20 74 68 |eck to s|ee if th|
|00002f60| 65 20 66 6f 6e 74 73 20 | 6e 65 65 64 65 64 20 66 |e fonts |needed f|
|00002f70| 6f 72 20 74 68 65 20 73 | 74 61 63 6b 73 20 61 72 |or the s|tacks ar|
|00002f80| 65 0d 2d 2d 20 69 6e 73 | 74 61 6c 6c 65 64 20 69 |e.-- ins|talled i|
|00002f90| 6e 20 74 68 65 20 73 79 | 73 74 65 6d 2e 20 49 6e |n the sy|stem. In|
|00002fa0| 66 6f 72 6d 20 74 68 65 | 20 75 73 65 72 20 69 66 |form the| user if|
|00002fb0| 20 74 68 65 79 27 72 65 | 20 6e 6f 74 2e 0d 67 65 | they're| not..ge|
|00002fc0| 74 20 63 68 65 63 6b 48 | 43 46 6f 6e 74 28 22 43 |t checkH|CFont("C|
|00002fd0| 6f 75 72 69 65 72 22 2c | 22 31 30 2c 31 32 22 29 |ourier",|"10,12")|
|00002fe0| 20 26 20 63 68 65 63 6b | 48 43 46 6f 6e 74 28 22 | & check|HCFont("|
|00002ff0| 47 65 6e 65 76 61 22 2c | 22 31 30 2c 31 34 22 29 |Geneva",|"10,14")|
|00003000| 20 26 20 c2 0d 63 68 65 | 63 6b 48 43 46 6f 6e 74 | & ..che|ckHCFont|
|00003010| 28 22 50 61 6c 61 74 69 | 6e 6f 22 2c 22 31 30 2c |("Palati|no","10,|
|00003020| 31 32 2c 31 34 2c 31 38 | 2c 32 34 22 29 20 26 20 |12,14,18|,24") & |
|00003030| c2 0d 63 68 65 63 6b 48 | 43 46 6f 6e 74 28 22 48 |..checkH|CFont("H|
|00003040| 65 6c 76 65 74 69 63 61 | 22 2c 22 31 38 2c 32 34 |elvetica|","18,24|
|00003050| 22 29 20 2d 2d 20 74 68 | 65 73 65 20 61 72 65 20 |") -- th|ese are |
|00003060| 66 6f 6e 74 73 20 6e 65 | 65 64 65 64 20 62 79 20 |fonts ne|eded by |
|00003070| 74 68 69 73 20 73 74 61 | 63 6b 0d 69 66 20 69 74 |this sta|ck.if it|
|00003080| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00003090| 78 69 74 20 63 68 65 63 | 6b 46 6f 72 4d 69 73 73 |xit chec|kForMiss|
|000030a0| 69 6e 67 46 6f 6e 74 73 | 0d 65 6c 73 65 20 70 75 |ingFonts|.else pu|
|000030b0| 74 20 69 74 20 69 6e 74 | 6f 20 6d 69 73 73 69 6e |t it int|o missin|
|000030c0| 67 46 6f 6e 74 73 0d 62 | 65 65 70 20 31 0d 2d 2d |gFonts.b|eep 1.--|
|000030d0| 20 74 68 69 73 20 64 69 | 61 6c 6f 67 20 69 6e 66 | this di|alog inf|
|000030e0| 6f 72 6d 73 20 74 68 65 | 20 75 73 65 72 20 77 68 |orms the| user wh|
|000030f0| 69 63 68 20 66 6f 6e 74 | 73 20 61 72 65 20 6d 69 |ich font|s are mi|
|00003100| 73 73 69 6e 67 0d 61 6e | 73 77 65 72 20 22 54 68 |ssing.an|swer "Th|
|00003110| 65 73 65 20 66 6f 6e 74 | 28 73 29 20 61 72 65 20 |ese font|(s) are |
|00003120| 6d 69 73 73 69 6e 67 20 | 66 72 6f 6d 20 79 6f 75 |missing |from you|
|00003130| 72 20 73 79 73 74 65 6d | 3a 22 20 26 20 c2 0d 72 |r system|:" & ..r|
|00003140| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 26 |eturn & |return &|
|00003150| 20 6d 69 73 73 69 6e 67 | 46 6f 6e 74 73 20 26 20 | missing|Fonts & |
|00003160| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 46 6f 72 20 |return &| .."For |
|00003170| 74 65 78 74 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |text to |display |
|00003180| 63 6f 72 72 65 63 74 6c | 79 20 69 6e 20 74 68 65 |correctl|y in the|
|00003190| 20 73 74 61 63 6b 73 2c | 20 6d 61 6b 65 20 73 75 | stacks,| make su|
|000031a0| 72 65 20 79 6f 75 20 68 | 61 76 65 22 20 c2 0d 26 |re you h|ave" ..&|
|000031b0| 26 20 22 69 6e 73 74 61 | 6c 6c 65 64 20 74 68 65 |& "insta|lled the|
|000031c0| 20 66 6f 6e 74 73 20 69 | 6e 63 6c 75 64 65 64 20 | fonts i|ncluded |
|000031d0| 77 69 74 68 20 48 79 70 | 65 72 43 61 72 64 2e 22 |with Hyp|erCard."|
|000031e0| 20 2d 2d 20 c6 0d 65 6e | 64 20 63 68 65 63 6b 46 | -- ..en|d checkF|
|000031f0| 6f 72 4d 69 73 73 69 6e | 67 46 6f 6e 74 73 00 00 |orMissin|gFonts..|
|00003200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032a0| 00 01 a0 25 00 01 a4 a4 | 00 09 5a df 00 05 10 94 |...%....|..Z.....|
|000032b0| 00 06 cb df 00 03 3a 43 | 00 03 3e 1e 00 03 42 8e |......:C|..>...B.|
|000032c0| 00 04 b5 76 00 06 8c cd | 00 06 63 fe 00 06 de f0 |...v....|..c.....|
|000032d0| 00 06 fd ad 00 05 ee a0 | 00 04 b9 59 00 03 52 14 |........|...Y..R.|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 00 00 00 00 04 e1 ae | 00 00 00 00 00 00 00 00 |........|........|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003480| 00 00 00 80 4c 49 53 54 | 00 00 08 25 00 00 00 00 |....LIST|...%....|
|00003490| 00 00 00 01 00 00 08 00 | 00 00 00 04 00 10 00 02 |........|........|
|000034a0| 00 03 00 04 80 00 01 38 | 00 00 00 04 00 00 00 00 |.......8|........|
|000034b0| 00 00 09 a4 00 04 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 08 00 50 41 47 45 | 00 00 09 a4 00 00 00 00 |....PAGE|........|
|00003510| 00 00 08 25 5d c0 02 f2 | 00 00 0b 94 40 00 00 00 |...%]...|....@...|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 16 59 60 00 00 00 |........|...Y`...|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 21 ae 20 00 00 00 |........|..!. ...|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 12 fe 20 7f bf ff |........|.... ...|
|00003550| ef ff ff ee ff f3 ff f0 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 2a c0 46 52 45 45 | 00 00 00 00 00 00 00 00 |..*.FREE|........|
|00003d10| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|00003d20| 00 00 14 ad 00 02 00 b1 | 00 00 01 14 00 02 00 00 |........|........|
|00003d30| 00 3a 00 7c 00 a9 02 04 | 00 fe 00 2b 01 1b 01 13 |.:.|....|...+....|
|00003d40| 00 00 00 00 00 00 00 01 | 00 03 00 09 00 00 00 0c |........|........|
|00003d50| 6d 65 73 73 67 00 00 6f | 6e 20 6d 6f 75 73 65 55 |messg..o|n mouseU|
|00003d60| 70 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |p.if the|re is a |
|00003d70| 63 61 72 64 20 66 69 65 | 6c 64 20 22 54 65 61 6d |card fie|ld "Team|
|00003d80| 49 6e 66 6f 22 20 74 68 | 65 6e 20 73 68 6f 77 20 |Info" th|en show |
|00003d90| 63 61 72 64 20 66 69 65 | 6c 64 20 69 64 20 32 31 |card fie|ld id 21|
|00003da0| 31 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 00 98 |1.end mo|useUp...|
|00003db0| 00 b1 01 00 01 0e 01 31 | 01 20 01 3f 20 00 00 00 |.......1|. .? ...|
|00003dc0| 5c a5 00 01 00 00 00 0c | 00 00 00 10 72 69 67 68 |\.......|....righ|
|00003dd0| 74 20 61 72 72 6f 77 00 | 00 6f 6e 20 6d 6f 75 73 |t arrow.|.on mous|
|00003de0| 65 55 70 0d 76 69 73 75 | 61 6c 20 65 66 66 65 63 |eUp.visu|al effec|
|00003df0| 74 20 77 69 70 65 20 6c | 65 66 74 0d 69 66 20 74 |t wipe l|eft.if t|
|00003e00| 68 65 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 20 69 73 |he comma|ndKey is|
|00003e10| 20 64 6f 77 6e 20 74 68 | 65 6e 20 67 6f 20 6c 61 | down th|en go la|
|00003e20| 73 74 20 63 61 72 64 0d | 65 6c 73 65 20 67 6f 20 |st card.|else go |
|00003e30| 6e 65 78 74 20 63 61 72 | 64 0d 65 6e 64 20 6d 6f |next car|d.end mo|
|00003e40| 75 73 65 55 70 00 00 a7 | 00 05 00 48 6f 6d 65 00 |useUp...|...Home.|
|00003e50| 00 a9 00 2b 00 a9 31 39 | 39 31 20 41 2f 50 49 58 |...+..19|91 A/PIX|
|00003e60| 20 56 49 53 69 6f 6e 73 | 0d 61 6e 64 20 57 61 79 | VISions|.and Way|
|00003e70| 7a 61 74 61 20 54 65 63 | 68 6e 6f 6c 6f 67 79 00 |zata Tec|hnology.|
|00003e80| 48 6f 6d 65 20 43 61 72 | 64 73 00 b0 b0 b0 b0 b0 |Home Car|ds......|
|00003e90| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ea0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003eb0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ec0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ed0| b0 b0 0d 53 63 72 69 70 | 74 20 6f 66 20 53 74 61 |...Scrip|t of Sta|
|00003ee0| 63 6b 3a 20 48 6f 6d 65 | 0d 0d 54 48 45 20 4d 45 |ck: Home|..THE ME|
|00003ef0| 53 53 41 47 45 20 48 41 | 4e 44 4c 45 52 53 20 49 |SSAGE HA|NDLERS I|
|00003f00| 4e 20 54 48 49 53 20 53 | 43 52 49 50 54 3a 0d 6f |N THIS S|CRIPT:.o|
|00003f10| 70 65 6e 53 74 61 63 6b | 2c 63 6c 6f 73 65 53 74 |penStack|,closeSt|
|00003f20| 61 63 6b 2c 6f 70 65 6e | 42 61 63 6b 67 72 6f 75 |ack,open|Backgrou|
|00003f30| 6e 64 2c 63 6c 6f 73 65 | 42 61 63 6b 67 72 6f 75 |nd,close|Backgrou|
|00003f40| 6e 64 2c 0d 73 75 73 70 | 65 6e 64 53 74 61 63 6b |nd,.susp|endStack|
|00003f50| 2c 72 65 73 75 6d 65 53 | 74 61 63 6b 2c 75 70 64 |,resumeS|tack,upd|
|00003f60| 61 74 65 48 6f 6d 65 4d | 65 6e 75 2c 6e 65 77 4c |ateHomeM|enu,newL|
|00003f70| 69 6e 6b 2c 6d 61 6b 65 | 4e 65 77 48 43 42 75 74 |ink,make|NewHCBut|
|00003f80| 74 6f 6e 0d 64 72 61 67 | 48 43 42 75 74 74 6f 6e |ton.drag|HCButton|
|00003f90| 2c 75 70 64 61 74 65 48 | 43 50 61 74 68 73 2c 73 |,updateH|CPaths,s|
|00003fa0| 65 6c 65 63 74 48 43 46 | 69 6c 65 2c 67 65 74 48 |electHCF|ile,getH|
|00003fb0| 43 50 61 74 68 4e 61 6d | 65 2c 6d 65 6d 45 72 72 |CPathNam|e,memErr|
|00003fc0| 6f 72 53 63 72 69 70 74 | 0d 77 72 69 74 65 48 43 |orScript|.writeHC|
|00003fd0| 53 63 72 69 70 74 2c 73 | 74 72 69 6e 67 49 73 49 |Script,s|tringIsI|
|00003fe0| 6e 43 6f 6e 74 61 69 6e | 65 72 0d b0 b0 b0 b0 b0 |nContain|er......|
|00003ff0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004000| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004010| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004020| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004030| b0 b0 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |....on o|penStack|
|00004040| 0d 2d 2d 20 72 65 6d 6f | 76 65 20 61 6e 79 20 73 |.-- remo|ve any s|
|00004050| 69 6d 69 6c 61 72 20 6d | 65 6e 75 73 0d 69 66 20 |imilar m|enus.if |
|00004060| 74 68 65 72 65 20 69 73 | 20 61 20 6d 65 6e 75 20 |there is| a menu |
|00004070| 22 48 6f 6d 65 22 20 74 | 68 65 6e 20 64 65 6c 65 |"Home" t|hen dele|
|00004080| 74 65 20 6d 65 6e 75 20 | 22 48 6f 6d 65 22 20 2d |te menu |"Home" -|
|00004090| 2d 20 c6 0d 70 61 73 73 | 20 6f 70 65 6e 53 74 61 |- ..pass| openSta|
|000040a0| 63 6b 20 2d 2d 20 73 6f | 20 6f 74 68 65 72 73 20 |ck -- so| others |
|000040b0| 63 61 6e 20 75 73 65 20 | 69 74 0d 65 6e 64 20 6f |can use |it.end o|
|000040c0| 70 65 6e 53 74 61 63 6b | 0d 0d 6f 6e 20 63 6c 6f |penStack|..on clo|
|000040d0| 73 65 53 74 61 63 6b 0d | 69 66 20 28 74 68 65 72 |seStack.|if (ther|
|000040e0| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 48 6f 6d |e is a m|enu "Hom|
|000040f0| 65 22 29 20 61 6e 64 20 | 28 74 68 65 20 73 68 6f |e") and |(the sho|
|00004100| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004110| 73 74 61 63 6b 20 69 73 | 20 22 48 6f 6d 65 22 29 |stack is| "Home")|
|00004120| 0d 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e |.then de|lete men|
|00004130| 75 20 22 48 6f 6d 65 22 | 20 2d 2d 20 c6 0d 70 61 |u "Home"| -- ..pa|
|00004140| 73 73 20 63 6c 6f 73 65 | 53 74 61 63 6b 20 2d 2d |ss close|Stack --|
|00004150| 20 73 6f 20 6f 74 68 65 | 72 73 20 63 61 6e 20 75 | so othe|rs can u|
|00004160| 73 65 20 69 74 0d 65 6e | 64 20 63 6c 6f 73 65 53 |se it.en|d closeS|
|00004170| 74 61 63 6b 0d 0d 6f 6e | 20 6f 70 65 6e 42 61 63 |tack..on| openBac|
|00004180| 6b 67 72 6f 75 6e 64 0d | 2d 2d 20 52 65 71 75 69 |kground.|-- Requi|
|00004190| 72 65 73 20 68 61 6e 64 | 6c 65 72 73 3a 20 63 72 |res hand|lers: cr|
|000041a0| 65 61 74 65 54 68 65 4d | 65 6e 75 73 2c 75 70 64 |eateTheM|enus,upd|
|000041b0| 61 74 65 48 6f 6d 65 4d | 65 6e 75 0d 2d 2d 20 6d |ateHomeM|enu.-- m|
|000041c0| 61 6b 65 20 74 68 65 20 | 22 48 6f 6d 65 22 20 6d |ake the |"Home" m|
|000041d0| 65 6e 75 20 69 66 20 6e | 65 63 65 73 73 61 72 79 |enu if n|ecessary|
|000041e0| 0d 63 72 65 61 74 65 54 | 68 65 4d 65 6e 75 73 0d |.createT|heMenus.|
|000041f0| 2d 2d 20 75 70 64 61 74 | 65 20 68 6f 6d 65 20 6d |-- updat|e home m|
|00004200| 65 6e 75 20 66 6f 72 20 | 74 68 69 73 20 62 6b 67 |enu for |this bkg|
|00004210| 6e 64 0d 75 70 64 61 74 | 65 48 6f 6d 65 4d 65 6e |nd.updat|eHomeMen|
|00004220| 75 20 74 72 75 65 0d 70 | 61 73 73 20 6f 70 65 6e |u true.p|ass open|
|00004230| 42 61 63 6b 67 72 6f 75 | 6e 64 20 2d 2d 20 73 6f |Backgrou|nd -- so|
|00004240| 20 6f 74 68 65 72 73 20 | 63 61 6e 20 75 73 65 20 | others |can use |
|00004250| 69 74 0d 65 6e 64 20 6f | 70 65 6e 42 61 63 6b 67 |it.end o|penBackg|
|00004260| 72 6f 75 6e 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 42 |round..o|n closeB|
|00004270| 61 63 6b 67 72 6f 75 6e | 64 0d 2d 2d 20 52 65 71 |ackgroun|d.-- Req|
|00004280| 75 69 72 65 73 20 68 61 | 6e 64 6c 65 72 73 3a 20 |uires ha|ndlers: |
|00004290| 75 70 64 61 74 65 48 6f | 6d 65 4d 65 6e 75 0d 2d |updateHo|meMenu.-|
|000042a0| 2d 20 75 70 64 61 74 65 | 20 68 6f 6d 65 20 6d 65 |- update| home me|
|000042b0| 6e 75 20 66 6f 72 20 74 | 68 69 73 20 62 6b 67 6e |nu for t|his bkgn|
|000042c0| 64 0d 75 70 64 61 74 65 | 48 6f 6d 65 4d 65 6e 75 |d.update|HomeMenu|
|000042d0| 20 66 61 6c 73 65 0d 70 | 61 73 73 20 63 6c 6f 73 | false.p|ass clos|
|000042e0| 65 42 61 63 6b 67 72 6f | 75 6e 64 20 2d 2d 20 73 |eBackgro|und -- s|
|000042f0| 6f 20 6f 74 68 65 72 73 | 20 63 61 6e 20 75 73 65 |o others| can use|
|00004300| 20 69 74 0d 65 6e 64 20 | 63 6c 6f 73 65 42 61 63 | it.end |closeBac|
|00004310| 6b 67 72 6f 75 6e 64 0d | 0d 6f 6e 20 73 75 73 70 |kground.|.on susp|
|00004320| 65 6e 64 53 74 61 63 6b | 0d 69 66 20 28 74 68 65 |endStack|.if (the|
|00004330| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 20 22 48 6f |re is a |menu "Ho|
|00004340| 6d 65 22 29 20 61 6e 64 | 20 28 74 68 65 20 73 68 |me") and| (the sh|
|00004350| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00004360| 20 73 74 61 63 6b 20 69 | 73 20 22 48 6f 6d 65 22 | stack i|s "Home"|
|00004370| 29 0d 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |).then d|elete me|
|00004380| 6e 75 20 22 48 6f 6d 65 | 22 20 2d 2d 20 c6 0d 70 |nu "Home|" -- ..p|
|00004390| 61 73 73 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |ass susp|endStack|
|000043a0| 20 2d 2d 20 73 6f 20 6f | 74 68 65 72 73 20 63 61 | -- so o|thers ca|
|000043b0| 6e 20 75 73 65 20 69 74 | 0d 65 6e 64 20 73 75 73 |n use it|.end sus|
|000043c0| 70 65 6e 64 53 74 61 63 | 6b 0d 0d 6f 6e 20 72 65 |pendStac|k..on re|
|000043d0| 73 75 6d 65 53 74 61 63 | 6b 0d 2d 2d 20 52 65 71 |sumeStac|k.-- Req|
|000043e0| 75 69 72 65 73 20 68 61 | 6e 64 6c 65 72 73 3a 20 |uires ha|ndlers: |
|000043f0| 63 72 65 61 74 65 54 68 | 65 4d 65 6e 75 73 2c 75 |createTh|eMenus,u|
|00004400| 70 64 61 74 65 48 6f 6d | 65 4d 65 6e 75 0d 2d 2d |pdateHom|eMenu.--|
|00004410| 20 6d 61 6b 65 20 74 68 | 65 20 22 48 6f 6d 65 22 | make th|e "Home"|
|00004420| 20 6d 65 6e 75 20 69 66 | 20 6e 65 63 65 73 73 61 | menu if| necessa|
|00004430| 72 79 0d 63 72 65 61 74 | 65 54 68 65 4d 65 6e 75 |ry.creat|eTheMenu|
|00004440| 73 20 74 72 75 65 20 2d | 2d 20 66 6f 72 63 65 20 |s true -|- force |
|00004450| 6e 65 77 20 22 48 6f 6d | 65 22 20 6d 65 6e 75 0d |new "Hom|e" menu.|
|00004460| 75 70 64 61 74 65 48 6f | 6d 65 4d 65 6e 75 20 74 |updateHo|meMenu t|
|00004470| 72 75 65 0d 70 61 73 73 | 20 72 65 73 75 6d 65 53 |rue.pass| resumeS|
|00004480| 74 61 63 6b 20 2d 2d 20 | 73 6f 20 6f 74 68 65 72 |tack -- |so other|
|00004490| 73 20 63 61 6e 20 75 73 | 65 20 69 74 0d 65 6e 64 |s can us|e it.end|
|000044a0| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 0d 6f 6e | resumeS|tack..on|
|000044b0| 20 75 70 64 61 74 65 48 | 6f 6d 65 4d 65 6e 75 20 | updateH|omeMenu |
|000044c0| 73 74 61 74 75 73 0d 2d | 2d 20 75 70 64 61 74 65 |status.-|- update|
|000044d0| 20 74 68 65 20 22 48 6f | 6d 65 22 20 6d 65 6e 75 | the "Ho|me" menu|
|000044e0| 20 66 6f 72 20 74 68 69 | 73 20 62 61 63 6b 67 72 | for thi|s backgr|
|000044f0| 6f 75 6e 64 0d 69 66 20 | 74 68 65 72 65 20 69 73 |ound.if |there is|
|00004500| 20 6e 6f 20 6d 65 6e 75 | 20 22 48 6f 6d 65 22 20 | no menu| "Home" |
|00004510| 74 68 65 6e 20 65 78 69 | 74 20 75 70 64 61 74 65 |then exi|t update|
|00004520| 48 6f 6d 65 4d 65 6e 75 | 20 2d 2d 20 c6 0d 73 65 |HomeMenu| -- ..se|
|00004530| 74 20 63 68 65 63 6b 4d | 61 72 6b 20 6f 66 20 6d |t checkM|ark of m|
|00004540| 65 6e 75 49 74 65 6d 20 | 22 48 6f 6d 65 20 43 61 |enuItem |"Home Ca|
|00004550| 72 64 22 20 6f 66 20 6d | 65 6e 75 20 22 48 6f 6d |rd" of m|enu "Hom|
|00004560| 65 22 20 74 6f 20 73 74 | 61 74 75 73 20 2d 2d 20 |e" to st|atus -- |
|00004570| c6 0d 65 6e 64 20 75 70 | 64 61 74 65 48 6f 6d 65 |..end up|dateHome|
|00004580| 4d 65 6e 75 0d 0d 2d 2d | 2d 2d 2d 20 20 4e 65 77 |Menu..--|--- New|
|00004590| 4c 69 6e 6b 20 53 63 72 | 69 70 74 73 20 20 2d 2d |Link Scr|ipts --|
|000045a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000045b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000045c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0d 6f 6e 20 6e |--------|--..on n|
|000045d0| 65 77 4c 69 6e 6b 20 66 | 69 6c 65 54 79 70 65 0d |ewLink f|ileType.|
|000045e0| 2d 2d 20 52 65 71 75 69 | 72 65 73 20 68 61 6e 64 |-- Requi|res hand|
|000045f0| 6c 65 72 73 3a 20 64 69 | 73 61 6c 6c 6f 77 49 6e |lers: di|sallowIn|
|00004600| 74 65 72 72 75 70 74 69 | 6f 6e 2c 61 6c 6c 6f 77 |terrupti|on,allow|
|00004610| 49 6e 74 65 72 72 75 70 | 74 69 6f 6e 0d 2d 2d 20 |Interrup|tion.-- |
|00004620| 52 65 71 75 69 72 65 73 | 20 68 61 6e 64 6c 65 72 |Requires| handler|
|00004630| 73 3a 20 6d 61 6b 65 4e | 65 77 48 43 42 75 74 74 |s: makeN|ewHCButt|
|00004640| 6f 6e 2c 64 72 61 67 48 | 43 42 75 74 74 6f 6e 2c |on,dragH|CButton,|
|00004650| 75 70 64 61 74 65 48 43 | 50 61 74 68 73 0d 2d 2d |updateHC|Paths.--|
|00004660| 20 52 65 71 75 69 72 65 | 73 20 66 75 6e 63 74 69 | Require|s functi|
|00004670| 6f 6e 20 68 61 6e 64 6c | 65 72 73 3a 20 73 65 6c |on handl|ers: sel|
|00004680| 65 63 74 48 43 46 69 6c | 65 2c 6c 61 73 74 48 43 |ectHCFil|e,lastHC|
|00004690| 49 74 65 6d 2c 67 65 74 | 48 43 50 61 74 68 4e 61 |Item,get|HCPathNa|
|000046a0| 6d 65 2c 77 72 69 74 65 | 48 43 53 63 72 69 70 74 |me,write|HCScript|
|000046b0| 0d 2d 2d 20 41 6c 6c 6f | 77 73 20 79 6f 75 20 74 |.-- Allo|ws you t|
|000046c0| 6f 20 73 65 6c 65 63 74 | 20 61 20 73 74 61 63 6b |o select| a stack|
|000046d0| 2c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 6f 72 |, applic|ation or|
|000046e0| 20 64 6f 63 75 6d 65 6e | 74 20 66 72 6f 6d 20 61 | documen|t from a|
|000046f0| 6e 0d 2d 2d 20 61 6e 73 | 77 65 72 20 64 69 61 6c |n.-- ans|wer dial|
|00004700| 6f 67 2c 20 61 6e 64 20 | 63 72 65 61 74 65 20 61 |og, and |create a|
|00004710| 20 62 75 74 74 6f 6e 20 | 74 6f 20 6f 70 65 6e 20 | button |to open |
|00004720| 74 68 61 74 20 66 69 6c | 65 2e 0d 2d 2d 20 54 68 |that fil|e..-- Th|
|00004730| 69 73 20 69 73 20 74 68 | 65 20 6d 61 69 6e 20 6e |is is th|e main n|
|00004740| 65 77 4c 69 6e 6b 20 68 | 61 6e 64 6c 65 72 20 61 |ewLink h|andler a|
|00004750| 6e 64 20 63 61 6e 20 62 | 65 20 63 61 6c 6c 65 64 |nd can b|e called|
|00004760| 20 66 72 6f 6d 20 61 6e | 79 20 73 74 61 63 6b 0d | from an|y stack.|
|00004770| 0d 70 75 74 20 76 69 73 | 69 62 6c 65 20 6f 66 20 |.put vis|ible of |
|00004780| 6d 73 67 20 62 6f 78 20 | 69 6e 74 6f 20 73 61 76 |msg box |into sav|
|00004790| 65 56 69 73 4d 73 67 42 | 6f 78 20 2d 2d 20 74 6f |eVisMsgB|ox -- to|
|000047a0| 20 72 65 73 74 6f 72 65 | 20 69 74 20 6c 61 74 65 | restore| it late|
|000047b0| 72 0d 2d 2d 20 69 66 20 | 6e 6f 20 66 69 6c 65 20 |r.-- if |no file |
|000047c0| 74 79 70 65 20 69 73 20 | 67 69 76 65 6e 2c 20 64 |type is |given, d|
|000047d0| 65 74 65 72 6d 69 6e 65 | 20 77 68 61 74 20 74 79 |etermine| what ty|
|000047e0| 70 65 20 6f 66 20 66 69 | 6c 65 20 74 6f 20 6c 69 |pe of fi|le to li|
|000047f0| 6e 6b 20 74 6f 0d 69 66 | 20 28 66 69 6c 65 54 79 |nk to.if| (fileTy|
|00004800| 70 65 20 69 73 20 6e 6f | 74 20 69 6e 20 22 73 74 |pe is no|t in "st|
|00004810| 61 63 6b 20 64 6f 63 75 | 6d 65 6e 74 20 61 70 70 |ack docu|ment app|
|00004820| 6c 69 63 61 74 69 6f 6e | 20 66 69 6c 65 22 29 20 |lication| file") |
|00004830| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 43 72 65 |then.ans|wer "Cre|
|00004840| 61 74 65 20 62 75 74 74 | 6f 6e 20 6c 69 6e 6b 65 |ate butt|on linke|
|00004850| 64 20 74 6f 20 61 20 73 | 74 61 63 6b 20 6f 72 20 |d to a s|tack or |
|00004860| 66 69 6c 65 3f 22 20 c2 | 0d 77 69 74 68 20 22 43 |file?" .|.with "C|
|00004870| 61 6e 63 65 6c 22 20 6f | 72 20 22 46 69 6c 65 22 |ancel" o|r "File"|
|00004880| 20 6f 72 20 22 53 74 61 | 63 6b 22 20 2d 2d 20 c6 | or "Sta|ck" -- .|
|00004890| 0d 69 66 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 |.if it i|s empty |
|000048a0| 6f 72 20 69 74 20 69 73 | 20 22 43 61 6e 63 65 6c |or it is| "Cancel|
|000048b0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 6e 65 77 4c |" then e|xit newL|
|000048c0| 69 6e 6b 20 2d 2d 20 c6 | 0d 70 75 74 20 69 74 20 |ink -- .|.put it |
|000048d0| 69 6e 74 6f 20 66 69 6c | 65 54 79 70 65 0d 65 6e |into fil|eType.en|
|000048e0| 64 20 69 66 0d 0d 2d 2d | 20 69 66 20 69 74 27 73 |d if..--| if it's|
|000048f0| 20 61 20 66 69 6c 65 20 | 64 65 74 65 72 6d 69 6e | a file |determin|
|00004900| 65 20 77 68 61 74 20 6b | 69 6e 64 20 6f 66 20 66 |e what k|ind of f|
|00004910| 69 6c 65 20 69 74 20 69 | 73 0d 69 66 20 66 69 6c |ile it i|s.if fil|
|00004920| 65 54 79 70 65 20 69 73 | 20 22 46 69 6c 65 22 20 |eType is| "File" |
|00004930| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 43 72 65 |then.ans|wer "Cre|
|00004940| 61 74 65 20 62 75 74 74 | 6f 6e 20 6c 69 6e 6b 65 |ate butt|on linke|
|00004950| 64 20 74 6f 20 61 20 64 | 6f 63 75 6d 65 6e 74 20 |d to a d|ocument |
|00004960| 6f 72 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |or an ap|plicatio|
|00004970| 6e 3f 22 20 77 69 74 68 | 20 c2 0d 22 43 61 6e 63 |n?" with| .."Canc|
|00004980| 65 6c 22 20 6f 72 20 22 | 44 6f 63 75 6d 65 6e 74 |el" or "|Document|
|00004990| 22 20 6f 72 20 22 41 70 | 70 6c 69 63 61 74 69 6f |" or "Ap|plicatio|
|000049a0| 6e 22 20 2d 2d 20 c6 0d | 69 66 20 69 74 20 69 73 |n" -- ..|if it is|
|000049b0| 20 65 6d 70 74 79 20 6f | 72 20 69 74 20 69 73 20 | empty o|r it is |
|000049c0| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 20 20 65 |"Cancel"| then e|
|000049d0| 78 69 74 20 6e 65 77 4c | 69 6e 6b 20 2d 2d 20 c6 |xit newL|ink -- .|
|000049e0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 66 69 6c |.put it |into fil|
|000049f0| 65 54 79 70 65 0d 65 6e | 64 20 69 66 0d 0d 64 69 |eType.en|d if..di|
|00004a00| 73 61 6c 6c 6f 77 49 6e | 74 65 72 72 75 70 74 69 |sallowIn|terrupti|
|00004a10| 6f 6e 0d 2d 2d 20 73 65 | 6c 65 63 74 73 20 74 68 |on.-- se|lects th|
|00004a20| 65 20 73 74 61 63 6b 2c | 20 61 70 70 6c 69 63 61 |e stack,| applica|
|00004a30| 74 69 6f 6e 2c 20 6f 72 | 20 64 6f 63 75 6d 65 6e |tion, or| documen|
|00004a40| 74 20 74 6f 20 6c 69 6e | 6b 20 74 6f 0d 70 75 74 |t to lin|k to.put|
|00004a50| 20 22 53 65 6c 65 63 74 | 20 74 68 65 22 20 26 26 | "Select| the" &&|
|00004a60| 20 66 69 6c 65 54 79 70 | 65 20 26 26 20 22 74 6f | fileTyp|e && "to|
|00004a70| 20 6f 70 65 6e 3a 22 20 | 69 6e 74 6f 20 70 72 6f | open:" |into pro|
|00004a80| 6d 70 74 20 2d 2d 20 c6 | 0d 69 66 20 66 69 6c 65 |mpt -- .|.if file|
|00004a90| 54 79 70 65 20 69 73 20 | 22 53 74 61 63 6b 22 20 |Type is |"Stack" |
|00004aa0| 74 68 65 6e 20 70 75 74 | 20 22 53 54 41 4b 22 20 |then put| "STAK" |
|00004ab0| 69 6e 74 6f 20 66 69 6c | 74 65 72 20 2d 2d 20 c6 |into fil|ter -- .|
|00004ac0| 0d 65 6c 73 65 20 69 66 | 20 66 69 6c 65 74 79 70 |.else if| filetyp|
|00004ad0| 65 20 69 73 20 22 41 70 | 70 6c 69 63 61 74 69 6f |e is "Ap|plicatio|
|00004ae0| 6e 22 20 74 68 65 6e 20 | 70 75 74 20 22 41 50 50 |n" then |put "APP|
|00004af0| 4c 22 20 69 6e 74 6f 20 | 66 69 6c 74 65 72 0d 65 |L" into |filter.e|
|00004b00| 6c 73 65 20 70 75 74 20 | 65 6d 70 74 79 20 69 6e |lse put |empty in|
|00004b10| 74 6f 20 66 69 6c 74 65 | 72 20 2d 2d 20 6e 6f 20 |to filte|r -- no |
|00004b20| 77 61 79 20 74 6f 20 73 | 68 6f 77 20 6f 6e 6c 79 |way to s|how only|
|00004b30| 20 64 6f 63 75 6d 65 6e | 74 73 0d 70 75 74 20 73 | documen|ts.put s|
|00004b40| 65 6c 65 63 74 48 43 46 | 69 6c 65 28 70 72 6f 6d |electHCF|ile(prom|
|00004b50| 70 74 2c 66 69 6c 74 65 | 72 29 20 69 6e 74 6f 20 |pt,filte|r) into |
|00004b60| 6c 6f 6e 67 46 69 6c 65 | 4e 61 6d 65 20 2d 2d 20 |longFile|Name -- |
|00004b70| 66 75 6c 6c 20 70 61 74 | 68 0d 70 75 74 20 6c 61 |full pat|h.put la|
|00004b80| 73 74 48 43 49 74 65 6d | 28 22 3a 22 2c 6c 6f 6e |stHCItem|(":",lon|
|00004b90| 67 46 69 6c 65 4e 61 6d | 65 29 20 69 6e 74 6f 20 |gFileNam|e) into |
|00004ba0| 73 68 6f 72 74 46 69 6c | 65 4e 61 6d 65 0d 73 65 |shortFil|eName.se|
|00004bb0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00004bc0| 68 0d 0d 2d 2d 20 69 66 | 20 64 6f 63 75 6d 65 6e |h..-- if| documen|
|00004bd0| 74 20 69 73 20 63 68 6f | 73 65 6e 2c 20 67 65 74 |t is cho|sen, get|
|00004be0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 6f 20 | applica|tion to |
|00004bf0| 6f 70 65 6e 20 69 74 2e | 0d 70 75 74 20 65 6d 70 |open it.|.put emp|
|00004c00| 74 79 20 69 6e 74 6f 20 | 6c 6f 6e 67 41 70 70 4e |ty into |longAppN|
|00004c10| 61 6d 65 0d 69 66 20 66 | 69 6c 65 54 79 70 65 20 |ame.if f|ileType |
|00004c20| 69 73 20 22 64 6f 63 75 | 6d 65 6e 74 22 20 74 68 |is "docu|ment" th|
|00004c30| 65 6e 20 2d 2d 20 c6 0d | 70 75 74 20 22 53 65 6c |en -- ..|put "Sel|
|00004c40| 65 63 74 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |ect the |applicat|
|00004c50| 69 6f 6e 20 74 6f 20 6f | 70 65 6e 22 20 26 20 72 |ion to o|pen" & r|
|00004c60| 65 74 75 72 6e 20 c2 0d | 26 20 22 d2 22 20 26 20 |eturn ..|& "." & |
|00004c70| 73 68 6f 72 74 46 69 6c | 65 4e 61 6d 65 20 26 20 |shortFil|eName & |
|00004c80| 22 d3 22 20 26 20 22 3a | 22 20 69 6e 74 6f 20 70 |"." & ":|" into p|
|00004c90| 72 6f 6d 70 74 20 2d 2d | 20 c6 0d 70 75 74 20 73 |rompt --| ..put s|
|00004ca0| 65 6c 65 63 74 48 43 46 | 69 6c 65 28 70 72 6f 6d |electHCF|ile(prom|
|00004cb0| 70 74 2c 22 41 50 50 4c | 22 29 20 69 6e 74 6f 20 |pt,"APPL|") into |
|00004cc0| 6c 6f 6e 67 41 70 70 4e | 61 6d 65 20 2d 2d 20 66 |longAppN|ame -- f|
|00004cd0| 75 6c 6c 20 70 61 74 68 | 0d 70 75 74 20 6c 61 73 |ull path|.put las|
|00004ce0| 74 48 43 49 74 65 6d 28 | 22 3a 22 2c 6c 6f 6e 67 |tHCItem(|":",long|
|00004cf0| 41 70 70 4e 61 6d 65 29 | 20 69 6e 74 6f 20 73 68 |AppName)| into sh|
|00004d00| 6f 72 74 41 70 70 4e 61 | 6d 65 0d 65 6e 64 20 69 |ortAppNa|me.end i|
|00004d10| 66 0d 0d 2d 2d 20 20 65 | 78 74 72 61 63 74 20 74 |f..-- e|xtract t|
|00004d20| 68 65 20 66 69 6c 65 20 | 70 61 74 68 20 66 72 6f |he file |path fro|
|00004d30| 6d 20 74 68 65 20 66 75 | 6c 6c 20 70 61 74 68 20 |m the fu|ll path |
|00004d40| 6e 61 6d 65 0d 70 75 74 | 20 67 65 74 48 43 50 61 |name.put| getHCPa|
|00004d50| 74 68 4e 61 6d 65 28 6c | 6f 6e 67 46 69 6c 65 4e |thName(l|ongFileN|
|00004d60| 61 6d 65 29 20 69 6e 74 | 6f 20 74 68 65 50 61 74 |ame) int|o thePat|
|00004d70| 68 0d 2d 2d 20 20 6d 61 | 6b 65 20 61 20 6e 65 77 |h.-- ma|ke a new|
|00004d80| 20 62 75 74 74 6f 6e 20 | 66 6f 72 20 74 68 65 20 | button |for the |
|00004d90| 6c 69 6e 6b 65 64 20 66 | 69 6c 65 0d 6d 61 6b 65 |linked f|ile.make|
|00004da0| 4e 65 77 48 43 42 75 74 | 74 6f 6e 20 73 68 6f 72 |NewHCBut|ton shor|
|00004db0| 74 46 69 6c 65 4e 61 6d | 65 2c 66 69 6c 65 54 79 |tFileNam|e,fileTy|
|00004dc0| 70 65 0d 2d 2d 20 20 77 | 72 69 74 65 20 74 68 65 |pe.-- w|rite the|
|00004dd0| 20 73 63 72 69 70 74 20 | 66 6f 72 20 74 68 65 20 | script |for the |
|00004de0| 6e 65 77 20 62 75 74 74 | 6f 6e 0d 73 65 74 20 73 |new butt|on.set s|
|00004df0| 63 72 69 70 74 20 6f 66 | 20 6c 61 73 74 20 63 64 |cript of| last cd|
|00004e00| 20 62 74 6e 20 74 6f 20 | c2 0d 77 72 69 74 65 48 | btn to |..writeH|
|00004e10| 43 53 63 72 69 70 74 28 | 66 69 6c 65 54 79 70 65 |CScript(|fileType|
|00004e20| 2c 73 68 6f 72 74 46 69 | 6c 65 4e 61 6d 65 2c 73 |,shortFi|leName,s|
|00004e30| 68 6f 72 74 41 70 70 4e | 61 6d 65 29 0d 2d 2d 20 |hortAppN|ame).-- |
|00004e40| 20 61 6c 6c 6f 77 20 74 | 68 65 20 75 73 65 72 20 | allow t|he user |
|00004e50| 74 6f 20 73 65 74 20 74 | 68 65 20 70 6f 73 69 74 |to set t|he posit|
|00004e60| 69 6f 6e 20 6f 66 20 74 | 68 65 20 6e 65 77 20 62 |ion of t|he new b|
|00004e70| 75 74 74 6f 6e 0d 70 75 | 74 20 22 63 61 72 64 20 |utton.pu|t "card |
|00004e80| 62 75 74 74 6f 6e 20 69 | 64 22 20 26 26 20 69 64 |button i|d" && id|
|00004e90| 20 6f 66 20 6c 61 73 74 | 20 63 61 72 64 20 62 75 | of last| card bu|
|00004ea0| 74 74 6f 6e 20 69 6e 74 | 6f 20 62 74 6e 49 44 0d |tton int|o btnID.|
|00004eb0| 64 72 61 67 48 43 42 75 | 74 74 6f 6e 20 62 74 6e |dragHCBu|tton btn|
|00004ec0| 49 44 20 2d 2d 20 75 73 | 65 72 20 63 61 6e 20 6e |ID -- us|er can n|
|00004ed0| 6f 77 20 6d 6f 76 65 20 | 69 74 0d 2d 2d 20 75 70 |ow move |it.-- up|
|00004ee0| 64 61 74 65 20 74 68 65 | 20 22 50 61 74 68 73 22 |date the| "Paths"|
|00004ef0| 20 66 69 65 6c 64 20 6f | 6e 20 74 68 65 20 70 72 | field o|n the pr|
|00004f00| 6f 70 65 72 20 22 50 61 | 74 68 22 20 63 61 72 64 |oper "Pa|th" card|
|00004f10| 0d 75 70 64 61 74 65 48 | 43 50 61 74 68 73 20 66 |.updateH|CPaths f|
|00004f20| 69 6c 65 54 79 70 65 2c | 74 68 65 50 61 74 68 0d |ileType,|thePath.|
|00004f30| 69 66 20 6c 6f 6e 67 41 | 70 70 4e 61 6d 65 20 69 |if longA|ppName i|
|00004f40| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004f50| 20 20 2d 2d 20 20 66 6f | 72 20 61 20 64 6f 63 75 | -- fo|r a docu|
|00004f60| 6d 65 6e 74 27 73 20 61 | 70 70 0d 70 75 74 20 67 |ment's a|pp.put g|
|00004f70| 65 74 48 43 50 61 74 68 | 4e 61 6d 65 28 6c 6f 6e |etHCPath|Name(lon|
|00004f80| 67 41 70 70 4e 61 6d 65 | 29 20 69 6e 74 6f 20 61 |gAppName|) into a|
|00004f90| 70 70 50 61 74 68 0d 75 | 70 64 61 74 65 48 43 50 |ppPath.u|pdateHCP|
|00004fa0| 61 74 68 73 20 22 61 70 | 70 6c 69 63 61 74 69 6f |aths "ap|plicatio|
|00004fb0| 6e 22 2c 61 70 70 50 61 | 74 68 0d 65 6e 64 20 69 |n",appPa|th.end i|
|00004fc0| 66 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |f.put em|pty into|
|00004fd0| 20 6d 73 67 20 2d 2d 20 | 63 6c 65 61 6e 20 75 70 | msg -- |clean up|
|00004fe0| 20 61 6e 64 20 65 78 69 | 74 0d 73 65 74 20 76 69 | and exi|t.set vi|
|00004ff0| 73 69 62 6c 65 20 6f 66 | 20 6d 73 67 20 62 6f 78 |sible of| msg box|
|00005000| 20 74 6f 20 73 61 76 65 | 56 69 73 4d 73 67 42 6f | to save|VisMsgBo|
|00005010| 78 20 2d 2d 20 72 65 73 | 74 6f 72 65 20 69 74 0d |x -- res|tore it.|
|00005020| 61 6c 6c 6f 77 49 6e 74 | 65 72 72 75 70 74 69 6f |allowInt|erruptio|
|00005030| 6e 0d 65 6e 64 20 6e 65 | 77 4c 69 6e 6b 0d 0d 66 |n.end ne|wLink..f|
|00005040| 75 6e 63 74 69 6f 6e 20 | 73 65 6c 65 63 74 48 43 |unction |selectHC|
|00005050| 46 69 6c 65 20 70 72 6f | 6d 70 74 2c 66 69 6c 74 |File pro|mpt,filt|
|00005060| 65 72 0d 2d 2d 20 64 69 | 73 70 6c 61 79 73 20 64 |er.-- di|splays d|
|00005070| 69 61 6c 6f 67 20 66 6f | 72 20 73 65 6c 65 63 74 |ialog fo|r select|
|00005080| 69 6f 6e 20 6f 66 20 61 | 20 70 61 72 74 69 63 75 |ion of a| particu|
|00005090| 6c 61 72 20 66 69 6c 65 | 54 79 70 65 0d 69 66 20 |lar file|Type.if |
|000050a0| 66 69 6c 74 65 72 20 69 | 73 20 6e 6f 74 20 65 6d |filter i|s not em|
|000050b0| 70 74 79 20 74 68 65 6e | 20 61 6e 73 77 65 72 20 |pty then| answer |
|000050c0| 66 69 6c 65 20 70 72 6f | 6d 70 74 20 6f 66 20 74 |file pro|mpt of t|
|000050d0| 79 70 65 20 66 69 6c 74 | 65 72 0d 65 6c 73 65 20 |ype filt|er.else |
|000050e0| 61 6e 73 77 65 72 20 66 | 69 6c 65 20 70 72 6f 6d |answer f|ile prom|
|000050f0| 70 74 0d 69 66 20 28 69 | 74 20 69 73 20 65 6d 70 |pt.if (i|t is emp|
|00005100| 74 79 29 20 6f 72 20 28 | 74 68 65 20 72 65 73 75 |ty) or (|the resu|
|00005110| 6c 74 20 3d 20 22 43 61 | 6e 63 65 6c 22 29 0d 74 |lt = "Ca|ncel").t|
|00005120| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 48 79 70 65 |hen exit| to Hype|
|00005130| 72 43 61 72 64 0d 72 65 | 74 75 72 6e 20 69 74 20 |rCard.re|turn it |
|00005140| 2d 2d 20 6f 74 68 65 72 | 77 69 73 65 20 72 65 74 |-- other|wise ret|
|00005150| 75 72 6e 20 74 68 65 20 | 73 65 6c 65 63 74 65 64 |urn the |selected|
|00005160| 20 66 69 6c 65 20 70 61 | 74 68 0d 65 6e 64 20 73 | file pa|th.end s|
|00005170| 65 6c 65 63 74 48 43 46 | 69 6c 65 0d 0d 66 75 6e |electHCF|ile..fun|
|00005180| 63 74 69 6f 6e 20 67 65 | 74 48 43 50 61 74 68 4e |ction ge|tHCPathN|
|00005190| 61 6d 65 20 6c 6f 6e 67 | 4e 61 6d 65 0d 2d 2d 20 |ame long|Name.-- |
|000051a0| 52 65 71 75 69 72 65 73 | 20 68 61 6e 64 6c 65 72 |Requires| handler|
|000051b0| 3a 20 6c 61 73 74 48 43 | 49 74 65 6d 0d 2d 2d 20 |: lastHC|Item.-- |
|000051c0| 72 65 74 75 72 6e 20 74 | 68 65 20 70 61 74 68 20 |return t|he path |
|000051d0| 74 6f 20 74 68 65 20 66 | 69 6c 65 0d 70 75 74 20 |to the f|ile.put |
|000051e0| 6c 61 73 74 48 43 49 74 | 65 6d 28 22 3a 22 2c 6c |lastHCIt|em(":",l|
|000051f0| 6f 6e 67 4e 61 6d 65 29 | 20 69 6e 74 6f 20 66 69 |ongName)| into fi|
|00005200| 6c 65 4e 61 6d 65 0d 72 | 65 74 75 72 6e 20 63 68 |leName.r|eturn ch|
|00005210| 61 72 20 31 20 74 6f 20 | 28 6c 65 6e 67 74 68 28 |ar 1 to |(length(|
|00005220| 6c 6f 6e 67 4e 61 6d 65 | 29 20 2d 20 6c 65 6e 67 |longName|) - leng|
|00005230| 74 68 28 66 69 6c 65 4e | 61 6d 65 29 29 20 6f 66 |th(fileN|ame)) of|
|00005240| 20 6c 6f 6e 67 4e 61 6d | 65 0d 65 6e 64 20 67 65 | longNam|e.end ge|
|00005250| 74 48 43 50 61 74 68 4e | 61 6d 65 0d 0d 6f 6e 20 |tHCPathN|ame..on |
|00005260| 6d 61 6b 65 4e 65 77 48 | 43 42 75 74 74 6f 6e 20 |makeNewH|CButton |
|00005270| 73 68 6f 72 74 4e 61 6d | 65 2c 69 63 6f 6e 54 79 |shortNam|e,iconTy|
|00005280| 70 65 0d 2d 2d 20 52 65 | 71 75 69 72 65 73 20 68 |pe.-- Re|quires h|
|00005290| 61 6e 64 6c 65 72 73 3a | 20 73 65 74 55 73 65 72 |andlers:| setUser|
|000052a0| 4c 65 76 65 6c 46 69 76 | 65 2c 72 65 73 74 6f 72 |LevelFiv|e,restor|
|000052b0| 65 55 73 65 72 4c 65 76 | 65 6c 0d 2d 2d 20 20 63 |eUserLev|el.-- c|
|000052c0| 72 65 61 74 65 20 61 20 | 6e 65 77 20 62 75 74 74 |reate a |new butt|
|000052d0| 6f 6e 20 61 6e 64 20 73 | 65 74 20 69 74 27 73 20 |on and s|et it's |
|000052e0| 6e 61 6d 65 20 61 6e 64 | 20 69 63 6f 6e 0d 6c 6f |name and| icon.lo|
|000052f0| 63 6b 20 73 63 72 65 65 | 6e 0d 73 65 74 55 73 65 |ck scree|n.setUse|
|00005300| 72 4c 65 76 65 6c 46 69 | 76 65 0d 2d 2d 20 c6 20 |rLevelFi|ve.-- . |
|00005310| 6e 65 65 64 20 75 73 65 | 72 20 6c 65 76 65 6c 20 |need use|r level |
|00005320| 66 69 76 65 20 73 6f 20 | 6d 65 6e 75 20 69 74 65 |five so |menu ite|
|00005330| 6d 20 77 69 6c 6c 20 62 | 65 20 74 68 65 72 65 0d |m will b|e there.|
|00005340| 64 6f 4d 65 6e 75 20 22 | 4e 65 77 20 42 75 74 74 |doMenu "|New Butt|
|00005350| 6f 6e 22 0d 2d 2d 20 73 | 65 74 20 61 74 74 72 69 |on".-- s|et attri|
|00005360| 62 75 74 65 73 20 6f 66 | 20 6e 65 77 20 62 75 74 |butes of| new but|
|00005370| 74 6f 6e 0d 73 65 74 20 | 73 74 79 6c 65 20 6f 66 |ton.set |style of|
|00005380| 20 6c 61 73 74 20 63 61 | 72 64 20 62 75 74 74 6f | last ca|rd butto|
|00005390| 6e 20 74 6f 20 74 72 61 | 6e 73 70 61 72 65 6e 74 |n to tra|nsparent|
|000053a0| 0d 73 65 74 20 73 68 6f | 77 4e 61 6d 65 20 6f 66 |.set sho|wName of|
|000053b0| 20 6c 61 73 74 20 63 61 | 72 64 20 62 75 74 74 6f | last ca|rd butto|
|000053c0| 6e 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 61 75 |n to tru|e.set au|
|000053d0| 74 6f 48 69 6c 69 74 65 | 20 6f 66 20 6c 61 73 74 |toHilite| of last|
|000053e0| 20 63 61 72 64 20 62 75 | 74 74 6f 6e 20 74 6f 20 | card bu|tton to |
|000053f0| 74 72 75 65 0d 73 65 74 | 20 6e 61 6d 65 20 6f 66 |true.set| name of|
|00005400| 20 6c 61 73 74 20 63 61 | 72 64 20 62 75 74 74 6f | last ca|rd butto|
|00005410| 6e 20 74 6f 20 73 68 6f | 72 74 4e 61 6d 65 0d 73 |n to sho|rtName.s|
|00005420| 65 74 20 68 65 69 67 68 | 74 20 6f 66 20 6c 61 73 |et heigh|t of las|
|00005430| 74 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 74 6f |t card b|utton to|
|00005440| 20 35 32 0d 73 65 74 20 | 69 63 6f 6e 20 6f 66 20 | 52.set |icon of |
|00005450| 6c 61 73 74 20 63 61 72 | 64 20 62 75 74 74 6f 6e |last car|d button|
|00005460| 20 74 6f 20 69 63 6f 6e | 54 79 70 65 0d 2d 2d 20 | to icon|Type.-- |
|00005470| 64 6f 6e 27 74 20 6c 65 | 74 20 74 68 65 20 62 75 |don't le|t the bu|
|00005480| 74 74 6f 6e 20 62 65 20 | 74 6f 6f 20 73 6c 69 6d |tton be |too slim|
|00005490| 0d 69 66 20 6c 65 6e 67 | 74 68 28 73 68 6f 72 74 |.if leng|th(short|
|000054a0| 4e 61 6d 65 29 20 2a 20 | 36 20 3e 20 33 36 20 74 |Name) * |6 > 36 t|
|000054b0| 68 65 6e 0d 73 65 74 20 | 77 69 64 74 68 20 6f 66 |hen.set |width of|
|000054c0| 20 6c 61 73 74 20 63 61 | 72 64 20 62 75 74 74 6f | last ca|rd butto|
|000054d0| 6e 20 74 6f 20 6c 65 6e | 67 74 68 28 73 68 6f 72 |n to len|gth(shor|
|000054e0| 74 4e 61 6d 65 29 20 2a | 20 36 0d 65 6c 73 65 20 |tName) *| 6.else |
|000054f0| 73 65 74 20 77 69 64 74 | 68 20 6f 66 20 6c 61 73 |set widt|h of las|
|00005500| 74 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 74 6f |t card b|utton to|
|00005510| 20 33 36 0d 63 68 6f 6f | 73 65 20 62 72 6f 77 73 | 36.choo|se brows|
|00005520| 65 20 74 6f 6f 6c 0d 72 | 65 73 74 6f 72 65 55 73 |e tool.r|estoreUs|
|00005530| 65 72 4c 65 76 65 6c 0d | 75 6e 6c 6f 63 6b 20 73 |erLevel.|unlock s|
|00005540| 63 72 65 65 6e 0d 65 6e | 64 20 6d 61 6b 65 4e 65 |creen.en|d makeNe|
|00005550| 77 48 43 42 75 74 74 6f | 6e 0d 0d 66 75 6e 63 74 |wHCButto|n..funct|
|00005560| 69 6f 6e 20 6d 65 6d 45 | 72 72 6f 72 53 63 72 69 |ion memE|rrorScri|
|00005570| 70 74 20 61 70 70 4e 61 | 6d 65 0d 2d 2d 20 72 65 |pt appNa|me.-- re|
|00005580| 74 75 72 6e 73 20 61 20 | 73 63 72 69 70 74 20 75 |turns a |script u|
|00005590| 73 65 64 20 69 6e 20 6d | 61 6e 79 20 70 6c 61 63 |sed in m|any plac|
|000055a0| 65 73 0d 72 65 74 75 72 | 6e 20 22 69 66 20 74 68 |es.retur|n "if th|
|000055b0| 65 20 72 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |e result| is not |
|000055c0| 65 6d 70 74 79 20 74 68 | 65 6e 22 20 26 20 72 65 |empty th|en" & re|
|000055d0| 74 75 72 6e 20 26 20 c2 | 0d 22 62 65 65 70 20 31 |turn & .|."beep 1|
|000055e0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|000055f0| 61 6e 73 77 65 72 22 20 | 26 26 20 71 75 6f 74 65 |answer" |&& quote|
|00005600| 20 26 20 22 4e 6f 74 20 | 65 6e 6f 75 67 68 20 6d | & "Not |enough m|
|00005610| 65 6d 6f 72 79 20 74 6f | 20 6f 70 65 6e 20 74 68 |emory to| open th|
|00005620| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 d2 22 |e applic|ation ."|
|00005630| 20 c2 0d 26 20 61 70 70 | 4e 61 6d 65 20 26 20 22 | ..& app|Name & "|
|00005640| d3 2e 22 20 26 20 71 75 | 6f 74 65 20 26 20 72 65 |.." & qu|ote & re|
|00005650| 74 75 72 6e 20 26 20 c2 | 0d 22 65 6e 64 20 69 66 |turn & .|."end if|
|00005660| 22 20 2d 2d 20 c6 0d 65 | 6e 64 20 6d 65 6d 45 72 |" -- ..e|nd memEr|
|00005670| 72 6f 72 53 63 72 69 70 | 74 0d 0d 66 75 6e 63 74 |rorScrip|t..funct|
|00005680| 69 6f 6e 20 77 72 69 74 | 65 48 43 53 63 72 69 70 |ion writ|eHCScrip|
|00005690| 74 20 66 69 6c 65 54 79 | 70 65 2c 66 69 6c 65 4e |t fileTy|pe,fileN|
|000056a0| 61 6d 65 2c 61 70 70 6c | 4e 61 6d 65 0d 2d 2d 20 |ame,appl|Name.-- |
|000056b0| 52 65 71 75 69 72 65 73 | 20 68 61 6e 64 6c 65 72 |Requires| handler|
|000056c0| 3a 20 6d 65 6d 45 72 72 | 6f 72 53 63 72 69 70 74 |: memErr|orScript|
|000056d0| 0d 2d 2d 20 63 72 65 61 | 74 65 73 20 61 6e 64 20 |.-- crea|tes and |
|000056e0| 77 72 69 74 65 73 20 74 | 68 65 20 73 63 72 69 70 |writes t|he scrip|
|000056f0| 74 20 66 6f 72 20 74 68 | 65 20 6e 65 77 20 62 75 |t for th|e new bu|
|00005700| 74 74 6f 6e 20 2d 2d 20 | 73 65 65 20 6d 61 6b 65 |tton -- |see make|
|00005710| 4e 65 77 48 43 42 75 74 | 74 6f 6e 0d 70 75 74 20 |NewHCBut|ton.put |
|00005720| 22 6f 6e 20 6d 6f 75 73 | 65 55 70 22 20 26 20 72 |"on mous|eUp" & r|
|00005730| 65 74 75 72 6e 20 69 6e | 74 6f 20 74 68 65 53 63 |eturn in|to theSc|
|00005740| 72 69 70 74 0d 69 66 20 | 66 69 6c 65 54 79 70 65 |ript.if |fileType|
|00005750| 20 69 73 20 22 73 74 61 | 63 6b 22 20 20 74 68 65 | is "sta|ck" the|
|00005760| 6e 20 2d 2d 20 c6 0d 70 | 75 74 20 22 2d 2d 20 73 |n -- ..p|ut "-- s|
|00005770| 74 61 63 6b 20 77 69 6c | 6c 20 6f 70 65 6e 20 69 |tack wil|l open i|
|00005780| 6e 20 6e 65 77 20 77 69 | 6e 64 6f 77 20 69 66 20 |n new wi|ndow if |
|00005790| 74 68 65 72 65 27 73 20 | 65 6e 6f 75 67 68 20 6d |there's |enough m|
|000057a0| 65 6d 6f 72 79 22 20 26 | 20 72 65 74 75 72 6e 20 |emory" &| return |
|000057b0| c2 0d 26 20 22 67 6f 20 | 74 6f 20 73 74 61 63 6b |..& "go |to stack|
|000057c0| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 6c |" && quo|te & fil|
|000057d0| 65 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 20 26 26 |eName & |quote &&|
|000057e0| 20 22 69 6e 20 61 20 6e | 65 77 20 77 69 6e 64 6f | "in a n|ew windo|
|000057f0| 77 22 20 26 20 72 65 74 | 75 72 6e 20 c2 0d 26 20 |w" & ret|urn ..& |
|00005800| 22 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 22 |"get the| result"|
|00005810| 20 26 20 72 65 74 75 72 | 6e 20 26 20 22 69 66 20 | & retur|n & "if |
|00005820| 69 74 20 69 73 22 20 26 | 26 20 71 75 6f 74 65 20 |it is" &|& quote |
|00005830| 26 20 22 43 61 6e 63 65 | 6c 22 20 26 20 71 75 6f |& "Cance|l" & quo|
|00005840| 74 65 20 26 26 20 22 74 | 68 65 6e 20 65 78 69 74 |te && "t|hen exit|
|00005850| 20 6d 6f 75 73 65 55 70 | 22 20 26 20 72 65 74 75 | mouseUp|" & retu|
|00005860| 72 6e 20 c2 0d 26 20 22 | 69 66 20 74 68 65 20 72 |rn ..& "|if the r|
|00005870| 65 73 75 6c 74 20 3c 3e | 20 65 6d 70 74 79 20 74 |esult <>| empty t|
|00005880| 68 65 6e 20 67 6f 20 74 | 6f 20 73 74 61 63 6b 22 |hen go t|o stack"|
|00005890| 20 26 26 20 71 75 6f 74 | 65 20 26 20 66 69 6c 65 | && quot|e & file|
|000058a0| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 20 26 20 72 |Name & q|uote & r|
|000058b0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 68 65 53 |eturn af|ter theS|
|000058c0| 63 72 69 70 74 0d 65 6c | 73 65 20 69 66 20 66 69 |cript.el|se if fi|
|000058d0| 6c 65 54 79 70 65 20 69 | 73 20 22 61 70 70 6c 69 |leType i|s "appli|
|000058e0| 63 61 74 69 6f 6e 22 20 | 74 68 65 6e 0d 70 75 74 |cation" |then.put|
|000058f0| 20 22 6f 70 65 6e 22 20 | 26 26 20 71 75 6f 74 65 | "open" |&& quote|
|00005900| 20 26 20 66 69 6c 65 4e | 61 6d 65 20 26 20 71 75 | & fileN|ame & qu|
|00005910| 6f 74 65 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |ote & re|turn aft|
|00005920| 65 72 20 74 68 65 53 63 | 72 69 70 74 0d 70 75 74 |er theSc|ript.put|
|00005930| 20 6d 65 6d 45 72 72 6f | 72 53 63 72 69 70 74 28 | memErro|rScript(|
|00005940| 66 69 6c 65 4e 61 6d 65 | 29 20 26 20 72 65 74 75 |fileName|) & retu|
|00005950| 72 6e 20 61 66 74 65 72 | 20 74 68 65 53 63 72 69 |rn after| theScri|
|00005960| 70 74 0d 65 6c 73 65 20 | 69 66 20 66 69 6c 65 54 |pt.else |if fileT|
|00005970| 79 70 65 20 69 73 20 22 | 64 6f 63 75 6d 65 6e 74 |ype is "|document|
|00005980| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 6f 70 65 6e |" then.p|ut "open|
|00005990| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 6c |" && quo|te & fil|
|000059a0| 65 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 20 c2 0d |eName & |quote ..|
|000059b0| 26 26 20 22 77 69 74 68 | 22 20 26 26 20 71 75 6f |&& "with|" && quo|
|000059c0| 74 65 20 26 20 61 70 70 | 6c 4e 61 6d 65 20 26 20 |te & app|lName & |
|000059d0| 71 75 6f 74 65 20 26 20 | 72 65 74 75 72 6e 20 61 |quote & |return a|
|000059e0| 66 74 65 72 20 74 68 65 | 53 63 72 69 70 74 0d 70 |fter the|Script.p|
|000059f0| 75 74 20 6d 65 6d 45 72 | 72 6f 72 53 63 72 69 70 |ut memEr|rorScrip|
|00005a00| 74 28 61 70 70 6c 4e 61 | 6d 65 29 20 26 20 72 65 |t(applNa|me) & re|
|00005a10| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 53 63 |turn aft|er theSc|
|00005a20| 72 69 70 74 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |ript.end| if.put |
|00005a30| 22 65 6e 64 20 6d 6f 75 | 73 65 55 70 22 20 61 66 |"end mou|seUp" af|
|00005a40| 74 65 72 20 74 68 65 53 | 63 72 69 70 74 0d 72 65 |ter theS|cript.re|
|00005a50| 74 75 72 6e 20 74 68 65 | 53 63 72 69 70 74 0d 65 |turn the|Script.e|
|00005a60| 6e 64 20 77 72 69 74 65 | 48 43 53 63 72 69 70 74 |nd write|HCScript|
|00005a70| 0d 0d 6f 6e 20 64 72 61 | 67 48 43 42 75 74 74 6f |..on dra|gHCButto|
|00005a80| 6e 20 74 68 65 42 75 74 | 74 6f 6e 0d 2d 2d 20 20 |n theBut|ton.-- |
|00005a90| c6 20 6c 65 74 20 75 73 | 65 72 20 64 72 61 67 20 |. let us|er drag |
|00005aa0| 74 68 65 20 62 75 74 74 | 6f 6e 20 77 69 74 68 69 |the butt|on withi|
|00005ab0| 6e 20 74 68 65 20 63 61 | 72 64 20 77 69 6e 64 6f |n the ca|rd windo|
|00005ac0| 77 0d 70 75 74 20 22 44 | 72 61 67 20 74 68 65 20 |w.put "D|rag the |
|00005ad0| 62 75 74 74 6f 6e 20 74 | 6f 20 74 68 65 20 64 65 |button t|o the de|
|00005ae0| 73 69 72 65 64 20 6c 6f | 63 61 74 69 6f 6e 2e 22 |sired lo|cation."|
|00005af0| 20 2d 2d 20 c6 0d 2d 2d | 20 20 66 6c 61 73 68 20 | -- ..--| flash |
|00005b00| 62 75 74 74 6f 6e 20 75 | 6e 74 69 6c 20 75 73 65 |button u|ntil use|
|00005b10| 72 20 63 6c 69 63 6b 73 | 20 64 6f 77 6e 20 6f 6e |r clicks| down on|
|00005b20| 20 69 74 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 | it.set |cursor t|
|00005b30| 6f 20 61 72 72 6f 77 0d | 72 65 70 65 61 74 20 75 |o arrow.|repeat u|
|00005b40| 6e 74 69 6c 20 74 68 65 | 20 6d 6f 75 73 65 20 69 |ntil the| mouse i|
|00005b50| 73 20 64 6f 77 6e 0d 73 | 65 74 20 68 69 6c 69 74 |s down.s|et hilit|
|00005b60| 65 20 6f 66 20 74 68 65 | 42 75 74 74 6f 6e 20 74 |e of the|Button t|
|00005b70| 6f 20 6e 6f 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |o not hi|lite of |
|00005b80| 74 68 65 42 75 74 74 6f | 6e 0d 77 61 69 74 20 38 |theButto|n.wait 8|
|00005b90| 20 2d 2d 20 38 2f 36 30 | 20 6f 66 20 61 20 73 65 | -- 8/60| of a se|
|00005ba0| 63 6f 6e 64 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |cond.end| repeat.|
|00005bb0| 73 65 74 20 68 69 6c 69 | 74 65 20 6f 66 20 74 68 |set hili|te of th|
|00005bc0| 65 42 75 74 74 6f 6e 20 | 74 6f 20 74 72 75 65 0d |eButton |to true.|
|00005bd0| 2d 2d 20 20 64 72 61 67 | 20 74 68 65 20 62 75 74 |-- drag| the but|
|00005be0| 74 6f 6e 20 62 75 74 20 | 63 6f 6e 73 74 72 61 69 |ton but |constrai|
|00005bf0| 6e 20 74 6f 20 63 61 72 | 64 20 77 69 6e 64 6f 77 |n to car|d window|
|00005c00| 0d 70 75 74 20 77 69 64 | 74 68 20 6f 66 20 74 68 |.put wid|th of th|
|00005c10| 65 42 75 74 74 6f 6e 20 | 64 69 76 20 32 20 69 6e |eButton |div 2 in|
|00005c20| 74 6f 20 68 61 6c 66 42 | 74 6e 57 69 64 74 68 0d |to halfB|tnWidth.|
|00005c30| 70 75 74 20 77 69 64 74 | 68 20 6f 66 20 63 61 72 |put widt|h of car|
|00005c40| 64 20 77 69 6e 64 6f 77 | 20 2d 20 68 61 6c 66 42 |d window| - halfB|
|00005c50| 74 6e 57 69 64 74 68 20 | 69 6e 74 6f 20 6d 61 78 |tnWidth |into max|
|00005c60| 57 69 64 74 68 0d 70 75 | 74 20 68 65 69 67 68 74 |Width.pu|t height|
|00005c70| 20 6f 66 20 74 68 65 42 | 75 74 74 6f 6e 20 64 69 | of theB|utton di|
|00005c80| 76 20 32 20 69 6e 74 6f | 20 68 61 6c 66 42 74 6e |v 2 into| halfBtn|
|00005c90| 48 65 69 67 68 74 0d 70 | 75 74 20 68 65 69 67 68 |Height.p|ut heigh|
|00005ca0| 74 20 6f 66 20 63 61 72 | 64 20 77 69 6e 64 6f 77 |t of car|d window|
|00005cb0| 20 2d 20 68 61 6c 66 42 | 74 6e 48 65 69 67 68 74 | - halfB|tnHeight|
|00005cc0| 20 69 6e 74 6f 20 6d 61 | 78 48 65 69 67 68 74 0d | into ma|xHeight.|
|00005cd0| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 74 68 65 |repeat w|hile the|
|00005ce0| 20 6d 6f 75 73 65 20 69 | 73 20 64 6f 77 6e 0d 2d | mouse i|s down.-|
|00005cf0| 2d 20 74 68 65 20 68 6f | 72 7a 0d 70 75 74 20 6d |- the ho|rz.put m|
|00005d00| 61 78 28 74 68 65 20 6d | 6f 75 73 65 48 2c 68 61 |ax(the m|ouseH,ha|
|00005d10| 6c 66 42 74 6e 57 69 64 | 74 68 29 20 69 6e 74 6f |lfBtnWid|th) into|
|00005d20| 20 62 74 6e 48 0d 70 75 | 74 20 6d 69 6e 28 62 74 | btnH.pu|t min(bt|
|00005d30| 6e 48 2c 6d 61 78 57 69 | 64 74 68 29 20 69 6e 74 |nH,maxWi|dth) int|
|00005d40| 6f 20 62 74 6e 48 0d 2d | 2d 20 74 68 65 20 76 65 |o btnH.-|- the ve|
|00005d50| 72 74 0d 70 75 74 20 6d | 61 78 28 74 68 65 20 6d |rt.put m|ax(the m|
|00005d60| 6f 75 73 65 56 2c 68 61 | 6c 66 42 74 6e 48 65 69 |ouseV,ha|lfBtnHei|
|00005d70| 67 68 74 29 20 69 6e 74 | 6f 20 62 74 6e 56 0d 70 |ght) int|o btnV.p|
|00005d80| 75 74 20 6d 69 6e 28 62 | 74 6e 56 2c 6d 61 78 48 |ut min(b|tnV,maxH|
|00005d90| 65 69 67 68 74 29 20 69 | 6e 74 6f 20 62 74 6e 56 |eight) i|nto btnV|
|00005da0| 0d 73 65 74 20 6c 6f 63 | 20 6f 66 20 74 68 65 42 |.set loc| of theB|
|00005db0| 75 74 74 6f 6e 20 74 6f | 20 62 74 6e 48 2c 62 74 |utton to| btnH,bt|
|00005dc0| 6e 56 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 65 |nV.end r|epeat.se|
|00005dd0| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 74 68 65 42 |t hilite| of theB|
|00005de0| 75 74 74 6f 6e 20 74 6f | 20 66 61 6c 73 65 0d 65 |utton to| false.e|
|00005df0| 6e 64 20 64 72 61 67 48 | 43 42 75 74 74 6f 6e 0d |nd dragH|CButton.|
|00005e00| 0d 6f 6e 20 75 70 64 61 | 74 65 48 43 50 61 74 68 |.on upda|teHCPath|
|00005e10| 73 20 66 69 6c 65 54 79 | 70 65 2c 74 68 65 50 61 |s fileTy|pe,thePa|
|00005e20| 74 68 0d 2d 2d 20 52 65 | 71 75 69 72 65 73 20 66 |th.-- Re|quires f|
|00005e30| 75 6e 63 74 69 6f 6e 20 | 68 61 6e 64 6c 65 72 3a |unction |handler:|
|00005e40| 20 73 74 72 69 6e 67 49 | 73 49 6e 43 6f 6e 74 61 | stringI|sInConta|
|00005e50| 69 6e 65 72 0d 2d 2d 20 | 75 70 64 61 74 65 20 74 |iner.-- |update t|
|00005e60| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 70 |he appro|priate p|
|00005e70| 61 74 68 20 63 61 72 64 | 20 66 6f 72 20 74 68 65 |ath card| for the|
|00005e80| 20 6e 65 77 6c 79 20 63 | 72 65 61 74 65 64 20 62 | newly c|reated b|
|00005e90| 75 74 74 6f 6e 0d 67 6c | 6f 62 61 6c 20 53 74 61 |utton.gl|obal Sta|
|00005ea0| 63 6b 73 2c 41 70 70 6c | 69 63 61 74 69 6f 6e 73 |cks,Appl|ications|
|00005eb0| 2c 44 6f 63 75 6d 65 6e | 74 73 0d 70 75 74 20 22 |,Documen|ts.put "|
|00005ec0| 73 22 20 61 66 74 65 72 | 20 66 69 6c 65 54 79 70 |s" after| fileTyp|
|00005ed0| 65 20 20 2d 2d 20 20 c6 | 20 73 6f 20 69 74 20 77 |e -- .| so it w|
|00005ee0| 69 6c 6c 20 6d 61 74 63 | 68 20 63 61 72 64 20 26 |ill matc|h card &|
|00005ef0| 20 67 6c 6f 62 61 6c 20 | 6e 61 6d 65 0d 64 6f 20 | global |name.do |
|00005f00| 22 67 65 74 22 20 26 26 | 20 66 69 6c 65 54 79 70 |"get" &&| fileTyp|
|00005f10| 65 20 2d 2d 20 20 70 75 | 74 20 74 68 65 20 61 70 |e -- pu|t the ap|
|00005f20| 70 72 6f 70 72 69 61 74 | 65 20 67 6c 6f 62 61 6c |propriat|e global|
|00005f30| 20 69 6e 74 6f 20 22 69 | 74 22 0d 2d 2d 20 20 65 | into "i|t".-- e|
|00005f40| 78 69 74 20 74 68 69 73 | 20 68 61 6e 64 6c 65 72 |xit this| handler|
|00005f50| 20 69 66 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 61 | if the |global a|
|00005f60| 6c 72 65 61 64 79 20 63 | 6f 6e 74 61 69 6e 73 20 |lready c|ontains |
|00005f70| 74 68 65 20 70 61 74 68 | 0d 69 66 20 73 74 72 69 |the path|.if stri|
|00005f80| 6e 67 49 73 49 6e 43 6f | 6e 74 61 69 6e 65 72 28 |ngIsInCo|ntainer(|
|00005f90| 74 68 65 50 61 74 68 2c | 69 74 29 20 74 68 65 6e |thePath,|it) then|
|00005fa0| 20 65 78 69 74 20 75 70 | 64 61 74 65 48 43 50 61 | exit up|dateHCPa|
|00005fb0| 74 68 73 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ths.lock| screen.|
|00005fc0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00005fd0| 74 63 68 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 |tch.set |lockmess|
|00005fe0| 61 67 65 73 20 74 6f 20 | 74 72 75 65 20 2d 2d 20 |ages to |true -- |
|00005ff0| 61 76 6f 69 64 20 6f 70 | 65 6e 20 6d 65 73 73 61 |avoid op|en messa|
|00006000| 67 65 73 0d 73 65 74 20 | 6c 6f 63 6b 72 65 63 65 |ges.set |lockrece|
|00006010| 6e 74 20 74 6f 20 74 72 | 75 65 20 2d 2d 20 64 6f |nt to tr|ue -- do|
|00006020| 6e 27 74 20 6d 61 6b 65 | 20 61 6e 79 20 63 61 72 |n't make| any car|
|00006030| 64 20 6d 69 6e 69 61 74 | 75 72 65 73 0d 70 75 73 |d miniat|ures.pus|
|00006040| 68 20 63 61 72 64 20 2d | 2d 20 72 65 6d 65 6d 62 |h card -|- rememb|
|00006050| 65 72 20 77 68 65 72 65 | 20 77 65 20 61 72 65 0d |er where| we are.|
|00006060| 2d 2d 20 67 6f 20 74 6f | 20 74 68 65 20 63 6f 72 |-- go to| the cor|
|00006070| 72 65 63 74 20 70 61 74 | 68 20 63 61 72 64 20 69 |rect pat|h card i|
|00006080| 6e 20 74 68 65 20 68 6f | 6d 65 20 73 74 61 63 6b |n the ho|me stack|
|00006090| 0d 67 6f 20 63 61 72 64 | 20 66 69 6c 65 54 79 70 |.go card| fileTyp|
|000060a0| 65 20 6f 66 20 73 74 61 | 63 6b 20 22 48 6f 6d 65 |e of sta|ck "Home|
|000060b0| 22 20 2d 2d 20 c6 0d 2d | 2d 20 20 75 70 64 61 74 |" -- ..-|- updat|
|000060c0| 65 20 74 68 65 20 22 50 | 61 74 68 73 22 20 66 69 |e the "P|aths" fi|
|000060d0| 65 6c 64 20 77 69 74 68 | 20 74 68 65 20 6e 65 77 |eld with| the new|
|000060e0| 20 70 61 74 68 0d 67 65 | 74 20 62 67 20 66 69 65 | path.ge|t bg fie|
|000060f0| 6c 64 20 22 50 61 74 68 | 73 22 20 6f 66 20 63 61 |ld "Path|s" of ca|
|00006100| 72 64 20 66 69 6c 65 54 | 79 70 65 0d 69 66 20 28 |rd fileT|ype.if (|
|00006110| 69 74 20 ad 20 65 6d 70 | 74 79 29 20 61 6e 64 20 |it . emp|ty) and |
|00006120| 28 74 68 65 20 6c 61 73 | 74 20 63 68 61 72 20 6f |(the las|t char o|
|00006130| 66 20 69 74 20 ad 20 72 | 65 74 75 72 6e 29 0d 74 |f it . r|eturn).t|
|00006140| 68 65 6e 20 70 75 74 20 | 72 65 74 75 72 6e 20 62 |hen put |return b|
|00006150| 65 66 6f 72 65 20 74 68 | 65 50 61 74 68 0d 70 75 |efore th|ePath.pu|
|00006160| 74 20 74 68 65 50 61 74 | 68 20 61 66 74 65 72 20 |t thePat|h after |
|00006170| 62 67 20 66 69 65 6c 64 | 20 22 50 61 74 68 73 22 |bg field| "Paths"|
|00006180| 20 6f 66 20 63 61 72 64 | 20 66 69 6c 65 54 79 70 | of card| fileTyp|
|00006190| 65 0d 2d 2d 20 63 61 75 | 73 65 20 74 68 65 20 61 |e.-- cau|se the a|
|000061a0| 70 70 72 6f 70 72 69 61 | 74 65 20 67 6c 6f 62 61 |ppropria|te globa|
|000061b0| 6c 20 76 61 72 69 61 62 | 6c 65 20 74 6f 20 62 65 |l variab|le to be|
|000061c0| 20 75 70 64 61 74 65 64 | 0d 64 6f 20 22 70 75 74 | updated|.do "put|
|000061d0| 20 62 67 20 66 69 65 6c | 64 20 50 61 74 68 73 20 | bg fiel|d Paths |
|000061e0| 69 6e 74 6f 22 20 26 26 | 20 66 69 6c 65 54 79 70 |into" &&| fileTyp|
|000061f0| 65 0d 70 6f 70 20 63 61 | 72 64 20 2d 2d 20 72 65 |e.pop ca|rd -- re|
|00006200| 74 75 72 6e 20 74 6f 20 | 77 68 65 72 65 20 77 65 |turn to |where we|
|00006210| 20 77 65 72 65 0d 65 6e | 64 20 75 70 64 61 74 65 | were.en|d update|
|00006220| 48 43 50 61 74 68 73 0d | 0d 66 75 6e 63 74 69 6f |HCPaths.|.functio|
|00006230| 6e 20 73 74 72 69 6e 67 | 49 73 49 6e 43 6f 6e 74 |n string|IsInCont|
|00006240| 61 69 6e 65 72 20 74 68 | 65 53 74 72 69 6e 67 2c |ainer th|eString,|
|00006250| 74 68 65 43 6f 6e 74 61 | 69 6e 65 72 0d 2d 2d 20 |theConta|iner.-- |
|00006260| 20 63 68 65 63 6b 20 74 | 6f 20 73 65 65 20 69 66 | check t|o see if|
|00006270| 20 74 68 65 53 74 72 69 | 6e 67 20 69 73 20 61 20 | theStri|ng is a |
|00006280| 66 75 6c 6c 20 6c 69 6e | 65 20 6f 66 20 74 68 65 |full lin|e of the|
|00006290| 43 6f 6e 74 61 69 6e 65 | 72 0d 69 66 20 28 74 68 |Containe|r.if (th|
|000062a0| 65 53 74 72 69 6e 67 20 | 3d 20 66 69 72 73 74 20 |eString |= first |
|000062b0| 6c 69 6e 65 20 6f 66 20 | 74 68 65 43 6f 6e 74 61 |line of |theConta|
|000062c0| 69 6e 65 72 29 20 6f 72 | 20 c2 0d 28 74 68 65 53 |iner) or| ..(theS|
|000062d0| 74 72 69 6e 67 20 3d 20 | 6c 61 73 74 20 6c 69 6e |tring = |last lin|
|000062e0| 65 20 6f 66 20 74 68 65 | 43 6f 6e 74 61 69 6e 65 |e of the|Containe|
|000062f0| 72 29 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 74 |r) then |return t|
|00006300| 72 75 65 0d 65 6c 73 65 | 20 69 66 20 74 68 65 43 |rue.else| if theC|
|00006310| 6f 6e 74 61 69 6e 65 72 | 20 63 6f 6e 74 61 69 6e |ontainer| contain|
|00006320| 73 20 72 65 74 75 72 6e | 20 26 20 74 68 65 53 74 |s return| & theSt|
|00006330| 72 69 6e 67 20 26 20 72 | 65 74 75 72 6e 20 c2 0d |ring & r|eturn ..|
|00006340| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 74 72 75 65 |then ret|urn true|
|00006350| 0d 72 65 74 75 72 6e 20 | 66 61 6c 73 65 20 2d 2d |.return |false --|
|00006360| 20 6e 6f 74 20 66 6f 75 | 6e 64 2c 20 73 6f 20 72 | not fou|nd, so r|
|00006370| 65 74 75 72 6e 20 66 61 | 6c 73 65 0d 65 6e 64 20 |eturn fa|lse.end |
|00006380| 73 74 72 69 6e 67 49 73 | 49 6e 43 6f 6e 74 61 69 |stringIs|InContai|
|00006390| 6e 65 72 00 6e 65 72 00 | 00 00 72 6e 20 26 20 74 |ner.ner.|..rn & t|
|000063a0| 68 65 53 74 72 69 6e 67 | 20 26 20 72 65 74 75 72 |heString| & retur|
|000063b0| 6e 20 c2 0d 74 68 65 6e | 20 72 65 74 75 72 6e 20 |n ..then| return |
|000063c0| 74 72 75 65 0d 72 65 74 | 75 72 6e 20 66 61 6c 73 |true.ret|urn fals|
|000063d0| 65 20 2d 2d 20 6e 6f 74 | 20 66 6f 75 6e 64 2c 20 |e -- not| found, |
|000063e0| 73 6f 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 0d |so retur|n false.|
|000063f0| 65 6e 64 20 73 74 72 69 | 6e 67 49 73 49 6e 43 6f |end stri|ngIsInCo|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.